UNPKG

@pallad/common-errors

Version:
16 lines (15 loc) 429 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ApplicationError = void 0; const BaseError_1 = require("./BaseError"); /** * General application error. * * Suitable for cases where other errors do not fit. */ class ApplicationError extends BaseError_1.BaseError { constructor(message) { super(message, 'ApplicationError'); } } exports.ApplicationError = ApplicationError;