Exception: SimplySerializable::Error
- Inherits:
-
StandardError
- Object
- StandardError
- SimplySerializable::Error
- Defined in:
- lib/simply_serializable.rb
Direct Known Subclasses
Defined Under Namespace
Classes: CircularDependencyError
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(message, type:) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, type:) ⇒ Error
Returns a new instance of Error.
11 12 13 14 |
# File 'lib/simply_serializable.rb', line 11 def initialize(, type:) @type = type super() end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
9 10 11 |
# File 'lib/simply_serializable.rb', line 9 def type @type end |