Exception: Arkaan::Decorators::Errors::EnvVariableMissing
- Inherits:
-
Utils::Errors::HTTPError
- Object
- StandardError
- Utils::Errors::HTTPError
- Arkaan::Decorators::Errors::EnvVariableMissing
- Defined in:
- lib/arkaan/decorators/errors/env_variable_missing.rb
Overview
Error raised if the application key variable is missing.
Instance Attribute Summary
Attributes inherited from Utils::Errors::HTTPError
#action, #error, #field, #status
Instance Method Summary collapse
-
#initialize(action:) ⇒ EnvVariableMissing
constructor
A new instance of EnvVariableMissing.
Constructor Details
#initialize(action:) ⇒ EnvVariableMissing
Returns a new instance of EnvVariableMissing.
8 9 10 |
# File 'lib/arkaan/decorators/errors/env_variable_missing.rb', line 8 def initialize(action:) super(action, 'app_key', 'not_found', 404) end |