Type Alias ValidationErrorDetails
ValidationErrorDetails: Readonly<
| { kind: "custom"; message: string }
| { kind: "template-literal" }
| { kind: "enum"; values: readonly unknown[] }
| { endExclusive: number; kind: "integer-range"; start: number }
| { actualLength: number; expectedLength: number; kind: "tuple-length" }
| { actualLength: number; expectedLength: number; kind: "array-length" }
| { actualLength: number; kind: "array-min-length"; minLength: number }
| { kind: "non-empty-array" }
| { key: string; kind: "missing-key" }
| { key: string; kind: "excess-key" }
| { kind: "intersection"; typeNames: readonly string[] }
| { kind: "union"; typeNames: readonly string[] }
| { entry: "key" | "value"; expectedType: string; kind: "record-entry" }
| { entry: "key" | "value"; expectedType: string; kind: "map-entry" }
| { expectedType: string; kind: "set-element" }
| { description: string; kind: "brand" },
>