MCPcopy Index your code
hub / github.com/Keyang/node-csvtojson / processError

Method processError

src/Result.ts:59–66  ·  view source on GitHub ↗
(err: CSVError)

Source from the content-addressed store, hash-verified

57 this.converter.parseRuntime.parsedLineNumber += lines.length;
58 }
59 processError(err: CSVError) {
60 if (this.converter.parseRuntime.subscribe && this.converter.parseRuntime.subscribe.onError) {
61 this.converter.parseRuntime.subscribe.onError(err);
62 }
63 if (this.converter.parseRuntime.then && this.converter.parseRuntime.then.onrejected) {
64 this.converter.parseRuntime.then.onrejected(err);
65 }
66 }
67 endProcess() {
68
69 if (this.converter.parseRuntime.then && this.converter.parseRuntime.then.onfulfilled) {

Callers 4

fFunction · 0.80
fFunction · 0.80
ConverterFunction · 0.80
constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected