Exception: ThreeScaleToolbox::Error

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

Overview

Generic error. Superclass for all specific errors.

Instance Method Summary collapse

Instance Method Details

#codeObject



4
5
6
# File 'lib/3scale_toolbox/error.rb', line 4

def code
  'E_3SCALE'
end

#kindObject



8
9
10
# File 'lib/3scale_toolbox/error.rb', line 8

def kind
  self.class
end

#stacktraceObject



12
13
14
15
# File 'lib/3scale_toolbox/error.rb', line 12

def stacktrace
  # For managed errors, stacktrace should not be necessary
  nil
end