Class: Glia::Errors::GeographicPermissionError
- 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) ⇒ GeographicPermissionError
constructor
A new instance of GeographicPermissionError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ GeographicPermissionError
Returns a new instance of GeographicPermissionError.
292 293 294 295 296 297 298 |
# File 'lib/glia/errors/client_errors.rb', line 292 def initialize(message: nil) super( type: GEOGRAPHIC_PERMISSION_ERROR, ref: create_ref(GEOGRAPHIC_PERMISSION_ERROR), message: || 'Insufficient permissions for geographic region' ) end |