Class: Glia::Errors::FacebookAccessTokenPermissionsError
- 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) ⇒ FacebookAccessTokenPermissionsError
constructor
A new instance of FacebookAccessTokenPermissionsError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ FacebookAccessTokenPermissionsError
Returns a new instance of FacebookAccessTokenPermissionsError.
371 372 373 374 375 376 377 |
# File 'lib/glia/errors/client_errors.rb', line 371 def initialize(message: nil) super( type: FACEBOOK_ACCESS_TOKEN_PERMISSIONS_ERROR, ref: create_ref(FACEBOOK_ACCESS_TOKEN_PERMISSIONS_ERROR), message: || 'Access token does not have sufficient permissions' ) end |