You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Readability and conciseness of errors via the HTTP API (agent_api_rest) can be improved when following the Problem Details for HTTP APIs (RFC 7807). It introduces a "standard" way to report errors back to the caller.
Motivation
Enhanced API experience for the consumer.
We also want a more easy way to handle errors other than manually returning
Description
Readability and conciseness of errors via the HTTP API (
agent_api_rest
) can be improved when following the Problem Details for HTTP APIs (RFC 7807). It introduces a "standard" way to report errors back to the caller.Motivation
Enhanced API experience for the consumer.
We also want a more easy way to handle errors other than manually returning
There are multiple options to explore:
thiserror
and?
) and build a custom error handler / mapperRequirements
Open Questions
No response
Are you planning to contribute this in a PR?
Yes
The text was updated successfully, but these errors were encountered: