Skip to main content

ReconSnapshotError

Type Alias ReconSnapshotError 

Source
pub type ReconSnapshotError = ReconnaissanceSnapshotError;
Expand description

Concise integration alias for strict snapshot import failures.

Aliased Type§

pub enum ReconSnapshotError {
Show 15 variants EmptyInput, InputTooLarge, MalformedJson, DuplicateJsonKey, StructuralLimitExceeded, UnsupportedSchema, InvalidSnapshot, TooManySources, DuplicateSourceId, TooManyRecords, DuplicateRecordId, DuplicateRecordSource, UnknownRecordSource, TooManySourceAssociations, PreparedIndexTooLarge,
}

Variants§

§

EmptyInput

No exact input bytes were supplied.

§

InputTooLarge

The exact input exceeded the one-MiB ceiling.

§

MalformedJson

The input was not one complete JSON value.

§

DuplicateJsonKey

A JSON object contained a duplicate decoded key.

§

StructuralLimitExceeded

JSON depth, nodes, members, arrays, keys, or strings exceeded a bound.

§

UnsupportedSchema

The document did not select the exact V1 schema.

§

InvalidSnapshot

A required field, strict type, closed value, or bounded scalar was invalid.

§

TooManySources

More source declarations were supplied than V1 permits.

§

DuplicateSourceId

Two source declarations used the same source identifier.

§

TooManyRecords

More hypothesis records were supplied than V1 permits.

§

DuplicateRecordId

Two hypothesis records used the same record identifier.

§

DuplicateRecordSource

One record repeated a source identifier.

§

UnknownRecordSource

One record referred to a source declaration that does not exist.

§

TooManySourceAssociations

Total record-to-source associations exceeded the V1 ceiling.

§

PreparedIndexTooLarge

Prepared deterministic lookup state exceeded its memory ceiling.