Class: Glia::Errors::OAuthCodeExpiredError

Inherits:
Error
  • Object
show all
Defined in:
lib/glia/errors/client_errors.rb

Instance Attribute Summary

Attributes inherited from Error

#error_details, #message, #ref, #type

Instance Method Summary collapse

Methods inherited from Error

#to_h

Constructor Details

#initialize(message: nil) ⇒ OAuthCodeExpiredError

Returns a new instance of OAuthCodeExpiredError.



397
398
399
400
401
402
403
# File 'lib/glia/errors/client_errors.rb', line 397

def initialize(message: nil)
  super(
    type: OAUTH_CODE_EXPIRED_ERROR,
    ref: create_ref(OAUTH_CODE_EXPIRED_ERROR),
    message: message || 'OAuth code has expired'
  )
end