Class: Glia::Errors::OAuthCodeAlreadyUsedError
- Defined in:
- lib/glia/errors/client_errors.rb
Instance Attribute Summary
Attributes inherited from Error
#error_details, #message, #ref, #type
Instance Method Summary collapse
-
#initialize(message: nil) ⇒ OAuthCodeAlreadyUsedError
constructor
A new instance of OAuthCodeAlreadyUsedError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ OAuthCodeAlreadyUsedError
Returns a new instance of OAuthCodeAlreadyUsedError.
401 402 403 404 405 406 407 |
# File 'lib/glia/errors/client_errors.rb', line 401 def initialize(message: nil) super( type: OAUTH_CODE_ALREADY_USED_ERROR, ref: create_ref(OAUTH_CODE_ALREADY_USED_ERROR), message: || 'OAuth code has already been used' ) end |