Exception: ProcessOut::InternalError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/processout/errors/internal_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, msg) ⇒ InternalError

Returns a new instance of InternalError.



4
5
6
7
# File 'lib/processout/errors/internal_error.rb', line 4

def initialize(code, msg)
  self.code = code
  super(msg)
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/processout/errors/internal_error.rb', line 3

def code
  @code
end