Class: Glia::Errors::AuthorizationError
- 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) ⇒ AuthorizationError
constructor
A new instance of AuthorizationError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ AuthorizationError
Returns a new instance of AuthorizationError.
238 239 240 241 242 243 244 |
# File 'lib/glia/errors/client_errors.rb', line 238 def initialize(message: nil) super( type: AUTHORIZATION_ERROR, ref: create_ref(AUTHORIZATION_ERROR), message: || 'You do not have permissions to perform the action' ) end |