Skip to content

FairspecError

const FairspecError: ZodUnion<readonly [ZodUnion<readonly [ZodObject<{ jsonPointer: ZodString; message: ZodString; type: ZodLiteral<"metadata">; }, $strip>, ZodDiscriminatedUnion<[ZodObject<{ resourceName: ZodString; type: ZodLiteral<"resource/missing">; }, $strip>, ZodObject<{ expectedResourceType: ZodEnum<{ data: "data"; table: "table"; }>; type: ZodLiteral<"resource/type">; }, $strip>], "type">, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{ columnName: ZodString; type: ZodLiteral<…>; }, $strip>, ZodObject<{ actualColumnType: ZodEnum<…>; columnName: ZodString; expectedColumnType: ZodEnum<…>; type: ZodLiteral<…>; }, $strip>], "type">, ZodDiscriminatedUnion<[ZodObject<{ columnNames: ZodArray<…>; rowNumber: ZodNumber; type: ZodLiteral<…>; }, $strip>, ZodObject<{ columnNames: ZodArray<…>; rowNumber: ZodNumber; type: ZodLiteral<…>; }, $strip>], "type">, ZodDiscriminatedUnion<[ZodObject<{ cell: ZodString; columnName: ZodString; columnType: ZodEnum<…>; rowNumber: ZodNumber; type: ZodLiteral<…>; }, $strip>, ZodObject<{ cell: ZodString; columnName: ZodString; rowNumber: ZodNumber; type: ZodLiteral<…>; }, $strip>, ZodObject<{ cell: ZodString; columnName: ZodString; minimum: ZodString; rowNumber: ZodNumber; type: ZodLiteral<…>; }, $strip>], "type">, ZodObject<{ cells: ZodArray<ZodString>; foreignKey: ZodObject<{ columns: ZodArray<…>; reference: ZodObject<…, …>; }, $strip>; type: ZodLiteral<"foreignKey">; }, $strip>]>, ZodObject<{ jsonPointer: ZodString; message: ZodString; type: ZodLiteral<"data">; }, $strip>, ZodDiscriminatedUnion<[ZodObject<{ actualEncoding: ZodOptional<ZodString>; type: ZodLiteral<"file/textual">; }, $strip>, ZodObject<{ actualHash: ZodString; expectedHash: ZodString; hashType: ZodString; type: ZodLiteral<"file/integrity">; }, $strip>], "type">]>, ZodIntersection<ZodUnion<readonly [ZodObject<{ jsonPointer: ZodString; message: ZodString; type: ZodLiteral<"metadata">; }, $strip>, ZodDiscriminatedUnion<[ZodObject<{ resourceName: ZodString; type: ZodLiteral<"resource/missing">; }, $strip>, ZodObject<{ expectedResourceType: ZodEnum<{ data: …; table: …; }>; type: ZodLiteral<"resource/type">; }, $strip>], "type">, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{ columnName: …; type: …; }, $strip>, ZodObject<{ actualColumnType: …; columnName: …; expectedColumnType: …; type: …; }, $strip>], "type">, ZodDiscriminatedUnion<[ZodObject<{ columnNames: …; rowNumber: …; type: …; }, $strip>, ZodObject<{ columnNames: …; rowNumber: …; type: …; }, $strip>], "type">, ZodDiscriminatedUnion<[ZodObject<{ cell: …; columnName: …; columnType: …; rowNumber: …; type: …; }, $strip>, ZodObject<{ cell: …; columnName: …; rowNumber: …; type: …; }, $strip>, ZodObject<{ cell: …; columnName: …; minimum: …; rowNumber: …; type: …; }, $strip>], "type">, ZodObject<{ cells: ZodArray<ZodString>; foreignKey: ZodObject<{ columns: …; reference: …; }, $strip>; type: ZodLiteral<"foreignKey">; }, $strip>]>, ZodObject<{ jsonPointer: ZodString; message: ZodString; type: ZodLiteral<"data">; }, $strip>, ZodDiscriminatedUnion<[ZodObject<{ actualEncoding: ZodOptional<ZodString>; type: ZodLiteral<"file/textual">; }, $strip>, ZodObject<{ actualHash: ZodString; expectedHash: ZodString; hashType: ZodString; type: ZodLiteral<"file/integrity">; }, $strip>], "type">]>, ZodObject<{ resource: ZodString; }, $strip>>]>

Defined in: metadata/models/error/error.ts:5