RejectReason

Why an insert was rejected (SPEC.md §1.2).

Entries

Link copied to clipboard

The input isn't valid JSON (RFC 8259).

Link copied to clipboard

A string or key contains bytes that aren't valid UTF-8; such bytes elsewhere are MALFORMED_JSON.

Link copied to clipboard

A string contains an escape that doesn't denote a Unicode scalar value, such as a lone surrogate.

Link copied to clipboard

An object contains the same key twice.

Link copied to clipboard

A number's normalized decimal exponent doesn't fit a 32-bit signed integer.

Link copied to clipboard

The document exceeds a configured limit (size, depth, key, string or number length).

Link copied to clipboard

A type assignment path given at insert matches no value, or matches a value that isn't an object.

Link copied to clipboard

The store has a CreationOptions.documentKey and the document has no string at its path: no value is there, or the value isn't a string.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.