Typescript Library Declarations (ES2023)
Interface ErrorConstructor
Hierarchy
ErrorConstructor
EvalErrorConstructor
RangeErrorConstructor
ReferenceErrorConstructor
SyntaxErrorConstructor
TypeErrorConstructor
URIErrorConstructor
Error
Constructor
(
message
?
)
:
Error
Parameters
Optional
message
:
string
Returns
Error
Error
Constructor
(
message
?
,
options
?
)
:
Error
Parameters
Optional
message
:
string
Optional
options
:
ErrorOptions
Returns
Error
Index
Constructors
constructor
Properties
prototype
Constructors
constructor
new
Error
Constructor
(
message
?
)
:
Error
Parameters
Optional
message
:
string
Returns
Error
new
Error
Constructor
(
message
?
,
options
?
)
:
Error
Parameters
Optional
message
:
string
Optional
options
:
ErrorOptions
Returns
Error
Properties
Readonly
prototype
prototype
:
Error
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
constructor
prototype