UNPKG

@atomiqlabs/sdk

Version:

atomiq labs SDK for cross-chain swaps between smart chains and bitcoin

17 lines (16 loc) 428 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserError = void 0; /** * An error on the user side, such as invalid address provided * * @category Errors */ class UserError extends Error { constructor(msg) { super(msg); // Set the prototype explicitly. Object.setPrototypeOf(this, UserError.prototype); } } exports.UserError = UserError;