@mavrykdynamics/taquito
Version:
High level functionality that builds upon the other packages in the Mavryk Typescript Library Suite.
29 lines (28 loc) • 1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ObservableError = exports.ConfirmationUndefinedError = void 0;
const taquito_core_1 = require("@mavrykdynamics/taquito-core");
/**
* @category Error
* @description Error that indicates undefined confirmation has not been specified or configured
*/
class ConfirmationUndefinedError extends taquito_core_1.MavrykToolkitConfigError {
constructor() {
super();
this.name = 'ConfirmationUndefinedError';
this.message = 'Default confirmation count can not be undefined';
}
}
exports.ConfirmationUndefinedError = ConfirmationUndefinedError;
/**
* @category Error
* @description Error that indicates a generic failure when trying to fetch an observable
*/
class ObservableError extends taquito_core_1.NetworkError {
constructor(message) {
super();
this.message = message;
this.name = 'ObservableError';
}
}
exports.ObservableError = ObservableError;