ArgumentNullError class

The error that is thrown when an argument passed in is null.

Extends

Error

Constructors

ArgumentNullError(string)

Creates an instance of ArgumentNullError.

Properties

Error
message
name
stack

Constructor Details

ArgumentNullError(string)

Creates an instance of ArgumentNullError.

new ArgumentNullError(argumentName: string)

Parameters

argumentName

string

Name of the argument that is null

Property Details

Error

static Error: ErrorConstructor

Property Value

ErrorConstructor

message

message: string

Property Value

string

name

name: string

Property Value

string

stack

stack?: string

Property Value

string