Transaction.on.error

Syntax

trans.on("error", function () {
    // Do stuff when transaction fails
});

Table of Contents