How property handle errors in Dropbox C# SDK?
I want to use common method for handling errors from different API calls. This method should be used on top app level and in serevals API calls. For most clouds API (like Microsoft OneDrive and Google Drive API) I can do it because there is strictly defined list (enum will all error codes) and only one exception class for error handling.
But in Dropbox C# SDK everything is contrariwise! There's no any error code list but there are dozen exception class (one exception template Dropbox.Api.ApiException<T> and great amount of errors object for T template parameter). Look for example on count of error classes for files operation - http://dropbox.github.io/dropbox-sdk-dotnet/html/N_Dropbox_Api_Files.htm
What the hell! How handle all of them ? Write giant catch() block ?
And worse, most of them use the same errors types!
For example, class Dropbox.Api.Files.LookupError that describes errors like "Not found", "Malformed Path" and so on is part of 21! others errors classes. For handling the simple "Not found" error I must be able to catch two dozen exceptions! Is it normal?
So, how property handle errors in Dropbox C# SDK?