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.
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_name ⇒ Object (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_path ⇒ Object (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_name ⇒ Object (readonly)
Returns the value of attribute service_name.
177 178 179 |
# File 'lib/appengine/exec.rb', line 177 def service_name @service_name end |