mini-effect
    Preparing search index...

    Interface UnionIssue<TSubIssue>

    Union issue interface.

    interface UnionIssue<TSubIssue extends BaseIssue<unknown>> {
        abortEarly?: boolean;
        abortPipeEarly?: boolean;
        expected: string;
        input: unknown;
        issues?: [TSubIssue, ...TSubIssue[]];
        kind: "schema";
        lang?: string;
        message: string;
        path?: [IssuePathItem, ...IssuePathItem[]];
        received: string;
        requirement?: unknown;
        type: "union";
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    abortEarly?: boolean

    Whether it should be aborted early.

    abortPipeEarly?: boolean

    Whether a pipe should be aborted early.

    expected: string

    The expected property.

    input: unknown

    The raw input data.

    issues?: [TSubIssue, ...TSubIssue[]]

    The sub issues.

    kind: "schema"

    The issue kind.

    lang?: string

    The selected language.

    message: string

    The error message.

    The issue path.

    received: string

    The received property.

    requirement?: unknown

    The input requirement.

    type: "union"

    The issue type.