Exception: EY::NoAppError

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

Instance Method Summary collapse

Methods inherited from Error

#ambiguous

Constructor Details

#initialize(repo) ⇒ NoAppError

Returns a new instance of NoAppError.



27
28
29
30
31
32
33
# File 'lib/engineyard/error.rb', line 27

def initialize(repo)
  super <<-ERROR
There is no application configured for any of the following remotes:
\t#{repo ? repo.urls.join("\n\t") : "No remotes found."}
You can add this application at #{EY.config.endpoint}
  ERROR
end