Exception: ViewModel::SerializationError
- Inherits:
-
AbstractError
- Object
- StandardError
- AbstractError
- ViewModel::SerializationError
- Defined in:
- lib/view_model/serialization_error.rb
Instance Attribute Summary collapse
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
Instance Method Summary collapse
-
#initialize(detail) ⇒ SerializationError
constructor
A new instance of SerializationError.
Methods inherited from AbstractError
#aggregation?, #causes, #code, #exception, #meta, #status, #title, #to_s, #view
Constructor Details
#initialize(detail) ⇒ SerializationError
Returns a new instance of SerializationError.
9 10 11 12 |
# File 'lib/view_model/serialization_error.rb', line 9 def initialize(detail) @detail = detail super() end |
Instance Attribute Details
#detail ⇒ Object (readonly)
Returns the value of attribute detail.
4 5 6 |
# File 'lib/view_model/serialization_error.rb', line 4 def detail @detail end |