Exception: Rfm::Error::RfmError
- Defined in:
- lib/rfm/error.rb
Overview
:nodoc:
Direct Known Subclasses
ConcurrencyError, FileError, GeneralError, MissingError, SecurityError, SystemError, UnknownError, ValidationError
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message = nil) ⇒ RfmError
constructor
A new instance of RfmError.
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, =nil) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
22 23 24 |
# File 'lib/rfm/error.rb', line 22 def code @code end |