Exception: AppEngine::Exec::ServiceNameConflict
- Inherits:
-
UsageError
- Object
- StandardError
- UsageError
- AppEngine::Exec::ServiceNameConflict
- 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
-
#config_name ⇒ Object
readonly
Returns the value of attribute config_name.
-
#config_path ⇒ Object
readonly
Returns the value of attribute config_path.
-
#service_name ⇒ Object
readonly
Returns the value of attribute service_name.
Instance Method Summary collapse
-
#initialize(service_name, config_name, config_path) ⇒ ServiceNameConflict
constructor
A new instance of ServiceNameConflict.
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_name ⇒ Object (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_path ⇒ Object (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_name ⇒ Object (readonly)
Returns the value of attribute service_name.
179 180 181 |
# File 'lib/appengine/exec.rb', line 179 def service_name @service_name end |