Exception: ThreeScale::Core::ServiceIsDefaultService

Inherits:
Error
  • Object
show all
Defined in:
lib/3scale/core/errors.rb

Instance Method Summary collapse

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