mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-08-03 03:56:08 -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
13
dist/utils/HavenoError.d.ts
vendored
Normal file
13
dist/utils/HavenoError.d.ts
vendored
Normal 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
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
|
1
dist/utils/HavenoError.js.map
vendored
Normal file
1
dist/utils/HavenoError.js.map
vendored
Normal 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"}
|
Loading…
Add table
Add a link
Reference in a new issue