Exception: EY::NoSingleEnvironmentError

Inherits:
EnvironmentError show all
Defined in:
lib/engineyard/error.rb

Instance Method Summary collapse

Methods inherited from Error

#ambiguous

Constructor Details

#initialize(app) ⇒ NoSingleEnvironmentError

Returns a new instance of NoSingleEnvironmentError.



91
92
93
94
# File 'lib/engineyard/error.rb', line 91

def initialize(app)
  size = app.environments.size
  super "Unable to determine a single environment for the current application (found #{size} environments)"
end