TypeErrorException Class

Represents a JavaScript TypeError thrown by an algorithm of a specification.

public sealed class TypeErrorException : ArgumentException
Inheritance
ArgumentException TypeErrorException

Constructors

NameDescription
TypeErrorException()Creates a type error exception.
TypeErrorException(string?)Creates a type error exception with the given message.
TypeErrorException(string?, Exception?)Creates a type error exception with the given message and inner exception.

TypeErrorException overloads

TypeErrorException()

TypeErrorException.cs

Creates a type error exception.

public TypeErrorException()

TypeErrorException(string?)

TypeErrorException.cs

Creates a type error exception with the given message.

public TypeErrorException(string? message)
Parameters
message string?

TypeErrorException(string?, Exception?)

TypeErrorException.cs

Creates a type error exception with the given message and inner exception.

public TypeErrorException(string? message, Exception? innerException)
Parameters
message string?
innerException Exception?