Expand description
This module defines custom error types and structs related to Frontegg API.
ApiError is an error struct that represents an error returned by the
Frontegg API. It contains information about the HTTP status code and a
vector of error messages.
Error is a custom error type that extends the
mz_frontegg_auth::Error enum.
It contains three variants:
Error::Auth: represents an authentication error from themz-frontegg-authcrate.Error::Transport: represents a transport error from thereqwestcrate during a network request.Error::Api: represents an Frontegg API error from a request.
Structs§
- ApiError
- An error returned by the Frontegg API.
Enums§
- Error
- A custom error type that extends the
Errorenum in themz-frontegg-authcrate.