mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-08-06 13:34:21 -04:00
bump version, update docs and dist
This commit is contained in:
parent
f4d1b6a0a2
commit
6640dcb2ee
849 changed files with 8355 additions and 1766 deletions
19
dist/utils/HavenoError.js
vendored
Normal file
19
dist/utils/HavenoError.js
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
/**
|
||||
* Haveno error with message and code.
|
||||
*/
|
||||
class HavenoError extends Error {
|
||||
/**
|
||||
* Create the error with a message and code.
|
||||
*
|
||||
* @param {string} msg - the error message
|
||||
* @param {number} code
|
||||
*/
|
||||
constructor(msg, code) {
|
||||
super(msg);
|
||||
this.code = code;
|
||||
}
|
||||
}
|
||||
exports.default = HavenoError;
|
||||
//# sourceMappingURL=HavenoError.js.map
|
Loading…
Add table
Add a link
Reference in a new issue