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

Method recordError

src/error-handler.ts:22–24  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

20 }
21
22 recordError(error: Error): void {
23 this.errors.push(error);
24 }
25
26 tolerate(error): void {
27 if (this.tolerant) {

Callers 2

tolerateMethod · 0.95
tolerateErrorMethod · 0.95

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected