Exception: EY::NoSingleEnvironmentError
- Inherits:
-
EnvironmentError
- Object
- RuntimeError
- Error
- EnvironmentError
- EY::NoSingleEnvironmentError
- Defined in:
- lib/engineyard/error.rb
Instance Method Summary collapse
-
#initialize(app) ⇒ NoSingleEnvironmentError
constructor
A new instance of NoSingleEnvironmentError.
Methods inherited from Error
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 |