I create a view display a books depend on url argument (book type name) ... And when book type name is not exist in book types list ... view be empty .. how can I when the url argument is wrong, display all books?
For contextual filters, the Views UI allows you to specify two different cases:
In the contextual filter configuration, in the "When the filter value is not in the URL" section, you need to set the "Display all results for the specified field" option.
In the contextual filter configuration, in the "When the filter value IS in the URL or a default is provided" section, you need to check the "Specify validation criteria" checkbox. Then, you can set the "Action to take if filter value does not validate" to "Display all results for the specified field".
You can see more details in the Views documentation: https://www.drupal.org/node/1578574
Hope it helps,