Module error

Module error 

Source

Structsยง

ApiError
A shares errod type used to produce public error and add additional context for internal diagnostics. A public error will be produced by using the inner error Display implementation and status_code field. The internal error report will be created used the Debug implementation and span_trace field.
Report
StatusCode
An HTTP status code (status-code in RFC 7230 et al.).