Class: Glia::Errors::FacebookAccessTokenNotPermanentError
- 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) ⇒ FacebookAccessTokenNotPermanentError
constructor
A new instance of FacebookAccessTokenNotPermanentError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ FacebookAccessTokenNotPermanentError
Returns a new instance of FacebookAccessTokenNotPermanentError.
381 382 383 384 385 386 387 |
# File 'lib/glia/errors/client_errors.rb', line 381 def initialize(message: nil) super( type: FACEBOOK_ACCESS_TOKEN_NOT_PERMANENT_ERROR, ref: create_ref(FACEBOOK_ACCESS_TOKEN_NOT_PERMANENT_ERROR), message: || 'Access token does not yield permanent access tokens' ) end |