ObjectDisposedError class

The error that is thrown when an object is disposed.

Extends
Error

Constructors

ObjectDisposedError(string, string)

Creates an instance of ObjectDisposedError.

Properties

Error
message
name
stack

Constructor Details

ObjectDisposedError(string, string)

Creates an instance of ObjectDisposedError.

new ObjectDisposedError(objectName: string, error?: string)

Parameters

objectName
string

The object that is disposed

error
string

The error

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