Interface WrongItemCountErrorReason

The error given if there are too many items.

interface WrongItemCountErrorReason {
    found: DocumentType[];
    maximumAllowed?: number;
    minimumAllowed?: number;
    what: string;
}

Properties

found: DocumentType[]

The found items.

maximumAllowed?: number

The maximum allowed, inclusive.

minimumAllowed?: number

The minimum allowed, inclusive.

what: string

What items had a wrong count.