xwt
2025-07-24 6f207fb20c28abd62a16565706007f2f1e0605e7
1
2
3
4
5
6
7
8
9
10
import type { ErrorObject } from "../../types";
export declare enum DiscrError {
    Tag = "tag",
    Mapping = "mapping"
}
export type DiscrErrorObj<E extends DiscrError> = ErrorObject<"discriminator", {
    error: E;
    tag: string;
    tagValue: unknown;
}, string>;