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.
383 384 385 386 387 388 389 |
# File 'lib/glia/errors/client_errors.rb', line 383 def initialize(message: nil) super( type: OAUTH_CODE_EXPIRED_ERROR, ref: create_ref(OAUTH_CODE_EXPIRED_ERROR), message: || 'OAuth code has expired' ) end |