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.



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