@pallad/common-errors
Version:
Common domain errors
15 lines (14 loc) • 409 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TimeoutError = void 0;
const BaseError_1 = require("./BaseError");
/**
* Indicates that an operation took too long
*/
class TimeoutError extends BaseError_1.BaseError {
constructor(message, timeout) {
super(message, 'TimeoutError');
this.timeout = timeout;
}
}
exports.TimeoutError = TimeoutError;