@airgap/coinlib-core
Version:
The @airgap/coinlib-core is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.
8 lines • 380 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.invalidArgumentTypeError = void 0;
function invalidArgumentTypeError(name, expected, actual) {
return new Error("".concat(name, ": expected ").concat(expected, " but got ").concat(actual, "."));
}
exports.invalidArgumentTypeError = invalidArgumentTypeError;
//# sourceMappingURL=error.js.map