Exception: SignIn::Errors::StandardError
- Inherits:
-
StandardError
- Object
- StandardError
- SignIn::Errors::StandardError
- Defined in:
- app/services/sign_in/errors.rb
Direct Known Subclasses
AccessDeniedError, AccessTokenExpiredError, AccessTokenMalformedJWTError, AccessTokenSignatureMismatchError, AntiCSRFMismatchError, AssertionExpiredError, AssertionMalformedJWTError, AssertionSignatureMismatchError, AttributeMismatchError, ClientAssertionAttributesError, ClientAssertionExpiredError, ClientAssertionInvalidError, ClientAssertionMalformedJWTError, ClientAssertionSignatureMismatchError, ClientAssertionTypeInvalidError, CodeChallengeMalformedError, CodeChallengeMethodMismatchError, CodeChallengeMismatchError, CodeInvalidError, CodeVerifierMalformedError, CredentialLockedError, CredentialMissingAttributeError, CredentialProviderError, GrantTypeValueError, InvalidAccessTokenAttributeError, InvalidAcrError, InvalidAudienceError, InvalidClientConfigError, InvalidCredentialLevelError, InvalidSSORequestError, InvalidScope, InvalidServiceAccountScope, InvalidTokenError, InvalidTokenTypeError, InvalidTypeError, LogoutAuthorizationError, MHVMissingMPIRecordError, MPILockedAccountError, MPIMalformedAccountError, MPIUserCreationFailedError, MalformedParamsError, MissingParamsError, RefreshNonceMismatchError, RefreshTokenDecryptionError, RefreshTokenMalformedError, RefreshVersionMismatchError, ServiceAccountAssertionAttributesError, ServiceAccountConfigNotFound, SessionNotAuthorizedError, SessionNotFoundError, StateCodeInvalidError, StatePayloadError, StatePayloadMalformedJWTError, StatePayloadSignatureMismatchError, TermsOfUseNotAcceptedError, TokenTheftDetectedError, UnverifiedCredentialBlockedError, UserAccountNotFoundError, UserAttributesMalformedError
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message:, code: Constants::ErrorCode::INVALID_REQUEST) ⇒ StandardError
constructor
A new instance of StandardError.
Constructor Details
#initialize(message:, code: Constants::ErrorCode::INVALID_REQUEST) ⇒ StandardError
Returns a new instance of StandardError.
8 9 10 11 |
# File 'app/services/sign_in/errors.rb', line 8 def initialize(message:, code: Constants::ErrorCode::INVALID_REQUEST) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
6 7 8 |
# File 'app/services/sign_in/errors.rb', line 6 def code @code end |