Exception: ViewModel::DeserializationError::InvalidSyntax
- Inherits:
-
InvalidRequest
- Object
- StandardError
- AbstractError
- AbstractErrorWithBlame
- ViewModel::DeserializationError
- InvalidRequest
- ViewModel::DeserializationError::InvalidSyntax
- Defined in:
- lib/view_model/deserialization_error.rb
Instance Attribute Summary collapse
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
Attributes inherited from AbstractErrorWithBlame
Instance Method Summary collapse
-
#initialize(detail, nodes = []) ⇒ InvalidSyntax
constructor
A new instance of InvalidSyntax.
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 = []) ⇒ InvalidSyntax
Returns a new instance of InvalidSyntax.
63 64 65 66 |
# File 'lib/view_model/deserialization_error.rb', line 63 def initialize(detail, nodes = []) @detail = detail super(nodes) end |
Instance Attribute Details
#detail ⇒ Object (readonly)
Returns the value of attribute detail.
61 62 63 |
# File 'lib/view_model/deserialization_error.rb', line 61 def detail @detail end |