Class: Arkaan::Decorators::Errors::EnvVariableMissing

Inherits:
Utils::Errors::HTTPError
  • Object
show all
Defined in:
lib/arkaan/decorators/errors/env_variable_missing.rb

Overview

Error raised if the application key variable is missing.

Instance Method Summary collapse

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