Skip to main content

Module error

Module error 

Source
Expand description

Errors of the BCS protocol layer.

BcsApiError is what every client method returns. The other types in this module describe the error bodies the broker sends. The connector crate maps BcsApiError to the broker-independent error of brokapi-core.

Structs§

ApiErrorResponse
The JSON body the broker sends with a non-success status.
AuthErrorResponse
The error body of the token service (it is a Keycloak server).
ValidationFieldError
One refused field in a BcsApiError::ValidationError (an entry of errors in the broker’s body).

Enums§

BcsApiError
The error of every REST call and of the subscription calls of a WebSocket session.