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.



72
73
74
75
# File 'lib/engineyard/error.rb', line 72

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