Exception: Leash::Env::NoApiKeyError
- Inherits:
-
Leash::Error
- Object
- StandardError
- Leash::Error
- Leash::Env::NoApiKeyError
- Defined in:
- lib/leash/env.rb
Instance Attribute Summary
Attributes inherited from Leash::Error
#action, #cause, #code, #see_also, #status
Instance Method Summary collapse
-
#initialize ⇒ NoApiKeyError
constructor
A new instance of NoApiKeyError.
Methods inherited from Leash::Error
Constructor Details
#initialize ⇒ NoApiKeyError
Returns a new instance of NoApiKeyError.
155 156 157 158 159 160 161 162 |
# File 'lib/leash/env.rb', line 155 def initialize super( "LEASH_API_KEY is required to call leash.env.get().", code: "NO_API_KEY", action: "Set LEASH_API_KEY in your environment or pass api_key: ... to Leash.new.", see_also: "https://leash.build/dashboard/organization" ) end |