Module err

Source
Expand description

Error types for JSON serialization and deserialization

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
TypeMismatchError
Type mismatch error (in terms of SchemaType)
UnexpectedRecordAttr
Error type for record attributes that should not exist
UnexpectedRestrictedExprKind
Error type for a restricted expression containing a non-restricted expression

Enums§

EscapeKind
Escape kind
JsonDeserializationError
Errors thrown during deserialization from JSON
JsonDeserializationErrorContext
Gives information about the context of a JSON deserialization error (e.g., where we were in the JSON document).
JsonSerializationError
Errors thrown during serialization to JSON