pub enum Error {
BadRequest,
AuthenticationFailed(AuthenticationFailedError),
InternalError,
BadGateway(Error),
}
Expand description
tiny-oidc-rp Errors
Variants§
BadRequest
Invalid request to RP - Implementer shoud return 400
AuthenticationFailed(AuthenticationFailedError)
Authentication failed - Implementer shoud return 401
InternalError
Internal error - Implementer shoud return 500
BadGateway(Error)
ID Provider token endpoint returns error - Implementer shoud return 502
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more