Module mz_frontegg_client::error

source ·
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 the [mz-frontegg-auth] crate.
  • Error::Transport: represents a transport error from the reqwest crate during a network request.
  • Error::Api: represents an Frontegg API error from a request.

Structs§

  • An error returned by the Frontegg API.

Enums§

  • A custom error type that extends the Error enum in the mz-frontegg-auth crate.