Class: Glia::Errors::OAuthCodeExpiredError
- 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) ⇒ OAuthCodeExpiredError
constructor
A new instance of OAuthCodeExpiredError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ OAuthCodeExpiredError
Returns a new instance of OAuthCodeExpiredError.
391 392 393 394 395 396 397 |
# File 'lib/glia/errors/client_errors.rb', line 391 def initialize(message: nil) super( type: OAUTH_CODE_EXPIRED_ERROR, ref: create_ref(OAUTH_CODE_EXPIRED_ERROR), message: || 'OAuth code has expired' ) end |