Skip to content

Add comprehensive error handling system for REST catalog #1918

@HeartLinked

Description

@HeartLinked

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions