GeneralError
constGeneralError: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<"column/missing">; },$strip>,ZodObject<{actualColumnType:ZodEnum<{array:"array";base64:"base64";boolean:"boolean";categorical:"categorical";date:"date";date-time:"date-time";decimal:"decimal";duration:"duration";"email";geojson:"geojson";hex:"hex";integer:"integer";list:"list";number:"number";object:"object";string:"string";time:"time";topojson:"topojson";unknown:"unknown";url:"url";wkb:"wkb";wkt:"wkt"; }>;columnName:ZodString;expectedColumnType:ZodEnum<{array:"array";base64:"base64";boolean:"boolean";categorical:"categorical";date:"date";date-time:"date-time";decimal:"decimal";duration:"duration";"email";geojson:"geojson";hex:"hex";integer:"integer";list:"list";number:"number";object:"object";string:"string";time:"time";topojson:"topojson";unknown:"unknown";url:"url";wkb:"wkb";wkt:"wkt"; }>;type:ZodLiteral<"column/type">; },$strip>],"type">,ZodDiscriminatedUnion<[ZodObject<{columnNames:ZodArray<ZodString>;rowNumber:ZodNumber;type:ZodLiteral<"row/primaryKey">; },$strip>,ZodObject<{columnNames:ZodArray<ZodString>;rowNumber:ZodNumber;type:ZodLiteral<"row/uniqueKey">; },$strip>],"type">,ZodDiscriminatedUnion<[ZodObject<{cell:ZodString;columnName:ZodString;columnType:ZodEnum<{array:"array";base64:"base64";boolean:"boolean";categorical:"categorical";date:"date";date-time:"date-time";decimal:"decimal";duration:"duration";"email";geojson:"geojson";hex:"hex";integer:"integer";list:"list";number:"number";object:"object";string:"string";time:"time";topojson:"topojson";unknown:"unknown";url:"url";wkb:"wkb";wkt:"wkt"; }>;rowNumber:ZodNumber;type:ZodLiteral<"cell/type">; },$strip>,ZodObject<{cell:ZodString;columnName:ZodString;rowNumber:ZodNumber;type:ZodLiteral<"cell/required">; },$strip>,ZodObject<{cell:ZodString;columnName:ZodString;minimum:ZodString;rowNumber:ZodNumber;type:ZodLiteral<"cell/minimum">; },$strip>],"type">,ZodObject<{cells:ZodArray<ZodString>;foreignKey:ZodObject<{columns:ZodArray<ZodString>;reference:ZodObject<{columns:ZodArray<…>;resource:ZodOptional<…>; },$strip>; },$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">]>
Defined in: metadata/models/error/general.ts:8