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