Exception: Teaspoon::EnvironmentNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/teaspoon/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg_or_options) ⇒ EnvironmentNotFound

Returns a new instance of EnvironmentNotFound.



18
19
20
21
22
# File 'lib/teaspoon/exceptions.rb', line 18

def initialize(msg_or_options)
  super(build_message(msg_or_options) do |options|
    "Unable to locate environment; searched in [#{options[:searched]}]. Have you run the installer?"
  end)
end