Interface ErrorConstructor
interface ErrorConstructor {
new ErrorConstructornew (message?: string): Error;
new ErrorConstructornew (message?: string, options?: ErrorOptions): Error;
prototype: Error;
(message?: string): Error;
(message?: string, options?: ErrorOptions): Error;
}
new ErrorConstructornew (message?: string): Error;
new ErrorConstructornew (message?: string, options?: ErrorOptions): Error;
prototype: Error;
(message?: string): Error;
(message?: string, options?: ErrorOptions): Error;
}
- Error
Constructor (message?): Error Parameters
Optional
message: string
Returns Error
- Error
Constructor (message?, options?): Error Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns Error
Index
Constructors
Properties
Constructors
constructor
- new
Error (message?): ErrorConstructor Parameters
Optional
message: string
Returns Error
- new
Error (message?, options?): ErrorConstructor Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns Error