UNPKG

@neylion/exceptions

Version:

Exceptions commonly used within ney projects

14 lines (13 loc) 502 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Exception_1 = require("./Exception"); class FaultyConfigException extends Exception_1.Exception { constructor(message, innerException) { super(message, innerException); this.name = "FaultyConfigException"; this.statusCode = 500; this.type = "config"; this.typeDescription = "Unexpected or faulty config setup."; } } exports.FaultyConfigException = FaultyConfigException;