Module entities_json_errors

Source
Expand description

Errors related to serializing/deserializing entities or contexts to/from JSON

Structs§

ActionParentIsNotAction
Error type for action parents not having type Action
DuplicateKey
Error type for records having duplicate keys
ExpectedExtnValue
Error type for getting any expression other than en extesion value
ExpectedLiteralEntityRef
Error type for getting any expression other than an entity reference
ExtnCall0Arguments
Error type for extension functions called w/ 0 arguments
ExtnCall2OrMoreArguments
Error type for extension functions called w/ 2+ arguments
JsonError
Wrapper type for errors from serde_json
MissingImpliedConstructor
Error type for missing extension constructors
MissingRequiredRecordAttr
Error type for a record missing a required attr
ParseEscape
Error type for incorrect escaping
ReservedKey
Error type for using a reserved key in a record
Residual
Error type for residuals that can’t be serialized
TypeMismatch
General error for type mismatches
UnexpectedRecordAttr
Error type for record attributes that should not exist
UnexpectedRestrictedExprKind
Error type for a restricted expression containing a non-restricted expression

Enums§

JsonDeserializationError
Errors thrown during deserialization from JSON
JsonSerializationError
Errors thrown during serialization to JSON