Skip to main content

Module error

Module error 

Source
Expand description

HTTP errors. Clients get a fixed message per kind; detail goes to the log.

Library errors carry diagnostics meant for a maintainer: schema drift renders the payload it got back from a third party. Putting that in a response body would hand callers a slice of someone else’s response.

Enums§

ApiError

Functions§

status_for