Exception: ViewModel::DeserializationError

Inherits:
AbstractErrorWithBlame show all
Defined in:
lib/view_model/deserialization_error.rb

Defined Under Namespace

Classes: AssociatedNotFound, Collection, DatabaseConstraint, DuplicateNodes, DuplicateOwner, Internal, InvalidAssociationType, InvalidAttributeType, InvalidParentEdit, InvalidRequest, InvalidSharedReference, InvalidStructure, InvalidSyntax, InvalidViewType, LockFailure, NotFound, ParentNotFound, PreviousChildNotFound, ReadOnlyAssociation, ReadOnlyAttribute, ReadOnlyType, SchemaVersionMismatch, UniqueViolation, UnknownAttribute, UnknownView, Validation

Instance Attribute Summary

Attributes inherited from AbstractErrorWithBlame

#nodes

Instance Method Summary collapse

Methods inherited from AbstractErrorWithBlame

#initialize, #meta

Methods inherited from AbstractError

#aggregation?, #causes, #detail, #exception, #initialize, #meta, #status, #title, #to_s, #view

Constructor Details

This class inherits a constructor from ViewModel::AbstractErrorWithBlame

Instance Method Details

#codeObject



7
8
9
# File 'lib/view_model/deserialization_error.rb', line 7

def code
  "DeserializationError.#{self.class.name.demodulize}"
end