-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In order to improve the generic handling of RFC 9457 JSON problem responses (and errors in general) the following shall be provided:
- Custom (fallback) error type fulfilling the
errorinterface (to get rid of[body=...]for generic errors - Improved logic flow for errors
- Actual parsing of the JSON content in a conform structure
- Provide a helper function that can be used outside of
httpc, e.g. in conjunction with a defaulthttp.Client - Adjust github.com/els0r/goProbe to use the aforementioned helper function
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request