bump version, update docs and dist

This commit is contained in:
woodser 2022-06-07 17:48:04 -04:00
parent f4d1b6a0a2
commit 6640dcb2ee
849 changed files with 8355 additions and 1766 deletions

13
dist/utils/HavenoError.d.ts vendored Normal file
View file

@ -0,0 +1,13 @@
/**
* Haveno error with message and code.
*/
export default class HavenoError extends Error {
code: number | undefined;
/**
* Create the error with a message and code.
*
* @param {string} msg - the error message
* @param {number} code
*/
constructor(msg: string, code?: number);
}

19
dist/utils/HavenoError.js vendored Normal file
View 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

1
dist/utils/HavenoError.js.map vendored Normal file
View file

@ -0,0 +1 @@
{"version":3,"file":"HavenoError.js","sourceRoot":"","sources":["../../src/utils/HavenoError.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,MAAqB,WAAY,SAAQ,KAAK;IAI5C;;;;;OAKG;IACH,YAAY,GAAW,EAAE,IAAa;QACpC,KAAK,CAAC,GAAG,CAAC,CAAC;QACX,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF;AAdD,8BAcC"}