Skip to main content

Exception

Classes

ArgumentException

Extends

Extended by

Constructors

Constructor
new ArgumentException(message?): ArgumentException;
Parameters
ParameterType
message?string
Returns

ArgumentException

Overrides

Exception.constructor

Properties

innerException
innerException: Exception | Error;
Inherited from

Exception.innerException

message
message: string;
Inherited from

Exception.message

name
name: string = "ArgumentException";
Overrides

Exception.name

stack?
optional stack?: string;
Inherited from

Exception.stack

Methods

toJSON()
toJSON(): object;
Returns

object

innerException
innerException: Exception | Error;
message
message: string;
name
name: string;
Inherited from

Exception.toJSON

toString()
toString(): string;

Returns a string representation of an object.

Returns

string

Inherited from

Exception.toString


ArgumentNullException

Extends

Constructors

Constructor
new ArgumentNullException(message?): ArgumentNullException;
Parameters
ParameterType
message?string
Returns

ArgumentNullException

Overrides

ArgumentException.constructor

Properties

innerException
innerException: Exception | Error;
Inherited from

ArgumentException.innerException

message
message: string;
Inherited from

ArgumentException.message

name
name: string = "ArgumentNullException";
Overrides

ArgumentException.name

stack?
optional stack?: string;
Inherited from

ArgumentException.stack

Methods

toJSON()
toJSON(): object;
Returns

object

innerException
innerException: Exception | Error;
message
message: string;
name
name: string;
Inherited from

ArgumentException.toJSON

toString()
toString(): string;

Returns a string representation of an object.

Returns

string

Inherited from

ArgumentException.toString


Exception

Extends

  • Error

Extended by

Constructors

Constructor
new Exception(message?): Exception;
Parameters
ParameterType
message?string
Returns

Exception

Overrides
Error.constructor;

Properties

innerException
innerException: Exception | Error;
message
message: string;
Inherited from
Error.message;
name
name: string = "CustomersCanvasException";
Overrides
Error.name;
stack?
optional stack?: string;
Inherited from
Error.stack;

Methods

toJSON()
toJSON(): object;
Returns

object

innerException
innerException: Exception | Error;
message
message: string;
name
name: string;
toString()
toString(): string;

Returns a string representation of an object.

Returns

string


InvalidOperationException

Extends

Constructors

Constructor
new InvalidOperationException(message?): InvalidOperationException;
Parameters
ParameterType
message?string
Returns

InvalidOperationException

Overrides

Exception.constructor

Properties

innerException
innerException: Exception | Error;
Inherited from

Exception.innerException

message
message: string;
Inherited from

Exception.message

name
name: string = "InvalidOperationException";
Overrides

Exception.name

stack?
optional stack?: string;
Inherited from

Exception.stack

Methods

toJSON()
toJSON(): object;
Returns

object

innerException
innerException: Exception | Error;
message
message: string;
name
name: string;
Inherited from

Exception.toJSON

toString()
toString(): string;

Returns a string representation of an object.

Returns

string

Inherited from

Exception.toString


NotImplementedException

Extends

Constructors

Constructor
new NotImplementedException(message?): NotImplementedException;
Parameters
ParameterType
message?string
Returns

NotImplementedException

Overrides

Exception.constructor

Properties

innerException
innerException: Exception | Error;
Inherited from

Exception.innerException

message
message: string;
Inherited from

Exception.message

name
name: string = "NotImplementedException";
Overrides

Exception.name

stack?
optional stack?: string;
Inherited from

Exception.stack

Methods

toJSON()
toJSON(): object;
Returns

object

innerException
innerException: Exception | Error;
message
message: string;
name
name: string;
Inherited from

Exception.toJSON

toString()
toString(): string;

Returns a string representation of an object.

Returns

string

Inherited from

Exception.toString


OutOfRangeException

Extends

Constructors

Constructor
new OutOfRangeException(message?): OutOfRangeException;
Parameters
ParameterType
message?string
Returns

OutOfRangeException

Overrides

Exception.constructor

Properties

innerException
innerException: Exception | Error;
Inherited from

Exception.innerException

message
message: string;
Inherited from

Exception.message

name
name: string = "OutOfRangeException";
Overrides

Exception.name

stack?
optional stack?: string;
Inherited from

Exception.stack

Methods

toJSON()
toJSON(): object;
Returns

object

innerException
innerException: Exception | Error;
message
message: string;
name
name: string;
Inherited from

Exception.toJSON

toString()
toString(): string;

Returns a string representation of an object.

Returns

string

Inherited from

Exception.toString


UnexpectedDataException

This exception is thrown when unexpected data is encountered.

Extends

Constructors

Constructor
new UnexpectedDataException(message?): UnexpectedDataException;
Parameters
ParameterType
message?string
Returns

UnexpectedDataException

Overrides

Exception.constructor

Properties

innerException
innerException: Exception | Error;
Inherited from

Exception.innerException

message
message: string;
Inherited from

Exception.message

name
name: string = "UnexpectedDataException";
Overrides

Exception.name

stack?
optional stack?: string;
Inherited from

Exception.stack

Methods

toJSON()
toJSON(): object;
Returns

object

innerException
innerException: Exception | Error;
message
message: string;
name
name: string;
Inherited from

Exception.toJSON

toString()
toString(): string;

Returns a string representation of an object.

Returns

string

Inherited from

Exception.toString

Was this page helpful?