Interface SyntaxErrorConstructor
interface SyntaxErrorConstructor {
new SyntaxErrorConstructornew (message?: string): SyntaxError;
new SyntaxErrorConstructornew (message?: string, options?: ErrorOptions): SyntaxError;
new SyntaxErrorConstructornew (message?: string): Error;
new SyntaxErrorConstructornew (message?: string, options?: ErrorOptions): Error;
prototype: SyntaxError;
(message?: string): SyntaxError;
(message?: string, options?: ErrorOptions): SyntaxError;
(message?: string): Error;
(message?: string, options?: ErrorOptions): Error;
}
new SyntaxErrorConstructornew (message?: string): SyntaxError;
new SyntaxErrorConstructornew (message?: string, options?: ErrorOptions): SyntaxError;
new SyntaxErrorConstructornew (message?: string): Error;
new SyntaxErrorConstructornew (message?: string, options?: ErrorOptions): Error;
prototype: SyntaxError;
(message?: string): SyntaxError;
(message?: string, options?: ErrorOptions): SyntaxError;
(message?: string): Error;
(message?: string, options?: ErrorOptions): Error;
}
Hierarchy
- ErrorConstructor
- SyntaxErrorConstructor (view full)
- Syntax
Error (message?): SyntaxErrorConstructor Parameters
Optional
message: string
Returns SyntaxError
- Syntax
Error (message?, options?): SyntaxErrorConstructor Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns SyntaxError
- Syntax
Error (message?): ErrorConstructor Parameters
Optional
message: string
Returns Error
- Syntax
Error (message?, options?): ErrorConstructor Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns Error
Index
Constructors
Properties
Constructors
constructor
- new
Syntax (message?): SyntaxErrorError Constructor Parameters
Optional
message: string
Returns SyntaxError
- new
Syntax (message?, options?): SyntaxErrorError Constructor Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns SyntaxError
- new
Syntax (message?): ErrorError Constructor Parameters
Optional
message: string
Returns Error
- new
Syntax (message?, options?): ErrorError Constructor Parameters
Optional
message: stringOptional
options: ErrorOptions
Returns Error