Documentation
    Preparing search index...

    Interface ArgumentError

    Represents common information shared between ArgumentTypeError and ArgumentRangeError.

    interface ArgumentError {
        cause?: unknown;
        message: string;
        name: string;
        paramIndex?: number;
        paramName?: string;
        stack?: string;
        toString(): string;
    }

    Hierarchy

    Implemented by

    Index

    Properties

    cause?: unknown
    message: string
    name: string
    paramIndex?: number

    0-based index of the parameter that causes this exception.

    paramName?: string

    name of the parameter that causes this exception.

    stack?: string

    Methods