Exception: ThreeScale::Core::ServiceIsDefaultService
- Defined in:
- lib/3scale/core/errors.rb
Instance Method Summary collapse
-
#initialize(id = nil) ⇒ ServiceIsDefaultService
constructor
A new instance of ServiceIsDefaultService.
Methods inherited from Error
code, #code, #to_xml, underscore
Constructor Details
#initialize(id = nil) ⇒ ServiceIsDefaultService
Returns a new instance of ServiceIsDefaultService.
41 42 43 |
# File 'lib/3scale/core/errors.rb', line 41 def initialize(id = nil) super %(Service id="#{id}" is the default service, must be removed forcefully or make it not default before removal) end |