Exception: ViewModel::DeserializationError::Internal
- Inherits:
-
ViewModel::DeserializationError
- Object
- StandardError
- AbstractError
- AbstractErrorWithBlame
- ViewModel::DeserializationError
- ViewModel::DeserializationError::Internal
- Defined in:
- lib/view_model/deserialization_error.rb
Overview
There has been an unexpected internal failure of the ViewModel library.
Instance Attribute Summary collapse
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
Attributes inherited from AbstractErrorWithBlame
Instance Method Summary collapse
-
#initialize(detail, nodes = []) ⇒ Internal
constructor
A new instance of Internal.
Methods inherited from ViewModel::DeserializationError
Methods inherited from AbstractErrorWithBlame
Methods inherited from AbstractError
#aggregation?, #causes, #code, #exception, #meta, #status, #title, #to_s, #view
Constructor Details
#initialize(detail, nodes = []) ⇒ Internal
Returns a new instance of Internal.
45 46 47 48 |
# File 'lib/view_model/deserialization_error.rb', line 45 def initialize(detail, nodes = []) @detail = detail super(nodes) end |
Instance Attribute Details
#detail ⇒ Object (readonly)
Returns the value of attribute detail.
43 44 45 |
# File 'lib/view_model/deserialization_error.rb', line 43 def detail @detail end |