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.



173
174
175
176
177
178
# File 'lib/appengine/exec.rb', line 173

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.



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

def config_name
  @config_name
end

#config_pathObject (readonly)

Returns the value of attribute config_path.



181
182
183
# File 'lib/appengine/exec.rb', line 181

def config_path
  @config_path
end

#service_nameObject (readonly)

Returns the value of attribute service_name.



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

def service_name
  @service_name
end