@nervosnetwork/ckb-sdk-utils
Version:
Utils module of @nervosnetwork/ckb-sdk-core
16 lines • 561 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.PrivateKeyLenException = void 0;
const tslib_1 = require("tslib");
const ErrorCode_js_1 = (0, tslib_1.__importDefault)(require("./ErrorCode.js"));
class PrivateKeyLenException extends Error {
constructor() {
super('Private key has invalid length');
this.code = ErrorCode_js_1.default.ParameterInvalid;
}
}
exports.PrivateKeyLenException = PrivateKeyLenException;
exports.default = {
PrivateKeyLenException,
};
//# sourceMappingURL=privateKey.js.map
;