obscenity / ParserError
Custom error thrown by the parser when syntactical errors are detected.
-
Error
↳
ParserError
• new ParserError(message
, line
, column
)
Name | Type |
---|---|
message |
string |
line |
number |
column |
number |
Error.constructor
• Readonly
column: number
The column on which the error occurred (one-based). Note that surrogate pairs are counted as 1 column wide, not 2.
• Readonly
line: number
The line on which the error occurred (one-based).
• message: string
Error.message
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1068
• Readonly
name: "ParserError"
Error.name
• Optional
stack: string
Error.stack
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1069