Exception: Rfm::Error::RfmError

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

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, message = nil) ⇒ RfmError

Returns a new instance of RfmError.



24
25
26
27
# File 'lib/rfm/error.rb', line 24

def initialize(code, message=nil)
  @code = code
  super(message)
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



22
23
24
# File 'lib/rfm/error.rb', line 22

def code
  @code
end