Is your feature request related to a problem or challenge?
Now we only have a simple deserialize_unexpected_catalog_error function for errors. Adds a comprehensive error handling system for the REST catalog.
Describe the solution you'd like
- Introduce an
ErrorHandler Trait.
- Implement specific handlers like
NamespaceErrorHandler .
- Implement a unified helper in HttpClient to handle the Async IO and JSON parsing.
Willingness to contribute
I can contribute to this feature independently