Currently, the bulk builder functions created by the api_description macro
don't provide information about which endpoint(s) failed to register. This
leads to a pretty suboptimal devx with large APIs like Nexus.
To address this, use a structured error type, and also carry information about
the operation ID (endpoint name) that was registered. Use this to produce
better messages for both ApiDescription::register, and the bulk builder
functions created by the api_description macro.
Currently, the bulk builder functions created by the
api_description
macro don't provide information about which endpoint(s) failed to register. This leads to a pretty suboptimal devx with large APIs like Nexus.To address this, use a structured error type, and also carry information about the operation ID (endpoint name) that was registered. Use this to produce better messages for both
ApiDescription::register
, and the bulk builder functions created by theapi_description
macro.