pub type ControllerResult<T, E = ControllerError> = Result<AuthorizedResponse<T>, E>;
Expand description
Used as the result types for all controllers. Only put information here that you want to be visible to users.
See also ControllerError for documentation on how to return errors from controllers.
Aliased Type§
enum ControllerResult<T, E = ControllerError> {
Ok(AuthorizedResponse<T>),
Err(E),
}