Class: Glia::Errors::FacebookAccessTokenPermissionsError

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) ⇒ FacebookAccessTokenPermissionsError

Returns a new instance of FacebookAccessTokenPermissionsError.



363
364
365
366
367
368
369
# File 'lib/glia/errors/client_errors.rb', line 363

def initialize(message: nil)
  super(
    type: FACEBOOK_ACCESS_TOKEN_PERMISSIONS_ERROR,
    ref: create_ref(FACEBOOK_ACCESS_TOKEN_PERMISSIONS_ERROR),
    message: message || 'Access token does not have sufficient permissions'
  )
end