class ThreeScaleToolbox::ThreeScaleApiError

Attributes

apierrors[R]

Public Class Methods

new(msg = '', apierrors = {}) click to toggle source
Calls superclass method
# File lib/3scale_toolbox/error.rb, line 39
def initialize(msg = '', apierrors = {})
  @apierrors = apierrors
  super(msg)
end

Public Instance Methods

code() click to toggle source
# File lib/3scale_toolbox/error.rb, line 48
def code
  'E_3SCALE_API'
end
message() click to toggle source
# File lib/3scale_toolbox/error.rb, line 44
def message
  "#{super}. Errors: #{apierrors}"
end