Documentation
    Preparing search index...

    Class ArgumentNullError

    The error that is thrown when a null (or undefined) value is passed to a method that does not accept it as a valid argument.

    By convention of jscorlib, we recommend not distinguishing between null and undefined.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    cause?: unknown
    message: string
    name: string = "ArgumentNullError"
    paramIndex?: number

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

    paramName?: string

    name of the parameter that causes this exception.

    stack?: string
    targetType?: TypeId
    valueType?: TypeId
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void