Expand description
Contains error and result types for all the controllers.
Structs§
- ApiError
Issue - ApiError
Response - Canonical API error envelope returned for controlled application errors.
- Controller
Error - Represents error messages that are sent in responses. Used as the error type in ControllerError, which is used by all the controllers in the application.
- OAuth
Error Data
Enums§
- Controller
Error Type - The type of ControllerError that occured.
- Error
Metadata - OAuth
Error Code - Pkce
Flow Error - Unauthorized
Reason - Validation
Issue Code
Constants§
Functions§
- as_
controller_ error - Helper function for
.map_err()chains to wrap any error as ControllerError. - missing_
controller_ error - Helper function for
.ok_or_else()to create ControllerError on None.
Type Aliases§
- Controller
Result - Used as the result types for all controllers. Only put information here that you want to be visible to users.