JSON error payloads
The JsonError union exposes these case payloads. The pinned RavenDoc build renders case signatures but does not yet generate individual payload-property pages. This reference preserves those members until that renderer support is available. Prefer case patterns to extract payloads.
Syntax.Message
Property value: string
Diagnostic message for malformed JSON.
LimitExceeded.Message
Property value: string
Description of the exceeded resource limit.
TypeMismatch.Expected
Property value: string
Description of the expected JSON value type.
MissingField.Name
Property value: string
Name of the required field.
DuplicateField.Name
Property value: string
Name of the duplicate field.
InvalidIndex.Index
Property value: int
Requested array index.
Read.Reason
Property value: TextReadError
Underlying text-input error.
Write.Reason
Property value: StreamError
Underlying stream-output error.
Reflection.Reason
Property value: ReflectionError
Underlying reflection error.
UnsupportedMapping.Message
Property value: string
Description of the unsupported object mapping.
HttpJsonError.Http.Reason
Property value: HttpError
The original HTTP construction, transport, handler or unsuccessful-status failure.
HttpJsonError.Json.Reason
Property value: JsonError
The original serialization or decoding failure. See HttpJsonError for the union contract. Cancellation remains a cancelled task rather than either case.