MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / doneIfError

Function doneIfError

test/unit/parser-tests.js:1298–1304  ·  view source on GitHub ↗

* Calls done in case there is an error

(done)

Source from the content-addressed store, hash-verified

1296 * Calls done in case there is an error
1297 */
1298function doneIfError(done) {
1299 return function doneIfErrorCallback(err) {
1300 if (err) {
1301 done(err);
1302 }
1303 };
1304}

Callers 1

parser-tests.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected