Exception: AppEngine::Exec::ServiceNameConflict

Inherits:
UsageError
  • Object
show all
Defined in:
lib/appengine/exec.rb

Overview

Exception raised when an explicitly-specified service name conflicts with a config-specified service name.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service_name, config_name, config_path) ⇒ ServiceNameConflict

Returns a new instance of ServiceNameConflict.



171
172
173
174
175
176
# File 'lib/appengine/exec.rb', line 171

def initialize service_name, config_name, config_path
  @service_name = service_name
  @config_name = config_name
  @config_path = config_path
  super "Service name conflicts with config file"
end

Instance Attribute Details

#config_nameObject (readonly)

Returns the value of attribute config_name.



178
179
180
# File 'lib/appengine/exec.rb', line 178

def config_name
  @config_name
end

#config_pathObject (readonly)

Returns the value of attribute config_path.



179
180
181
# File 'lib/appengine/exec.rb', line 179

def config_path
  @config_path
end

#service_nameObject (readonly)

Returns the value of attribute service_name.



177
178
179
# File 'lib/appengine/exec.rb', line 177

def service_name
  @service_name
end