Exception: ThreeScaleToolbox::ActiveDocsNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/3scale_toolbox/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

#kind, #stacktrace

Constructor Details

#initialize(id) ⇒ ActiveDocsNotFoundError

Returns a new instance of ActiveDocsNotFoundError.



27
28
29
# File 'lib/3scale_toolbox/error.rb', line 27

def initialize(id)
  super("ActiveDocs with ID #{id} not found")
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



25
26
27
# File 'lib/3scale_toolbox/error.rb', line 25

def id
  @id
end

Instance Method Details

#codeObject



31
32
33
# File 'lib/3scale_toolbox/error.rb', line 31

def code
  'E_ACTIVEDOCS_NOT_FOUND'
end