MCPcopy Index your code
hub / github.com/jquery/esprima / throwError

Method throwError

src/error-handler.ts:58–60  ·  view source on GitHub ↗
(index: number, line: number, col: number, description: string)

Source from the content-addressed store, hash-verified

56 }
57
58 throwError(index: number, line: number, col: number, description: string): never {
59 throw this.createError(index, line, col, description);
60 }
61
62 tolerateError(index: number, line: number, col: number, description: string) {
63 const error = this.createError(index, line, col, description);

Callers

nothing calls this directly

Calls 1

createErrorMethod · 0.95

Tested by

no test coverage detected