Skip to content

RecordError

Describes an error on an ValidatedRecord.

export type RecordError = {
source: DecisionSource;
input: DeepPartial<DecisionInput>;
filename?: string;
ref: DecisionRef;
message: () => string;
};

Errors

RecordValidationError

An unexpected error occurred while building the store.

export type RecordValidationError = RecordError & {
reason: string;
model: string;
path?: string;
schema?: string;
value?: unknown;
};