UNPKG

archunit

Version:

ArchUnit TypeScript is an architecture testing library, to specify and assert architecture rules in your TypeScript app

22 lines 671 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserError = exports.TechnicalError = void 0; class TechnicalError extends Error { constructor(message) { super(message); this.name = 'TechnicalError'; // For stack traces Object.setPrototypeOf(this, TechnicalError.prototype); } } exports.TechnicalError = TechnicalError; class UserError extends Error { constructor(message) { super(message); this.name = 'UserError'; // For stack traces Object.setPrototypeOf(this, UserError.prototype); } } exports.UserError = UserError; //# sourceMappingURL=errors.js.map