Exception: Mxmnd::ClientError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mxmnd.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, error) ⇒ ClientError

Returns a new instance of ClientError.



53
54
55
56
# File 'lib/mxmnd.rb', line 53

def initialize(code, error)
  @code = code
  super(error)
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



51
52
53
# File 'lib/mxmnd.rb', line 51

def code
  @code
end