Exception: EY::NoAppError
- Defined in:
- lib/engineyard/error.rb
Instance Method Summary collapse
-
#initialize(repo) ⇒ NoAppError
constructor
A new instance of NoAppError.
Methods inherited from Error
Constructor Details
#initialize(repo) ⇒ NoAppError
Returns a new instance of NoAppError.
23 24 25 26 27 28 |
# File 'lib/engineyard/error.rb', line 23 def initialize(repo) error = [%|There is no application configured for any of the following remotes:|] repo.urls.each{|url| error << %|\t#{url}| } error << %|You can add this application at #{EY.config.endpoint}| super error.join("\n") end |