UNPKG

@neylion/exceptions

Version:

Exceptions commonly used within ney projects

14 lines (13 loc) 516 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Exception_1 = require("./Exception"); class TryAgainException extends Exception_1.Exception { constructor(message, innerException) { super(message, innerException); this.name = "TryAgainException"; this.statusCode = 500; this.type = "tryAgain"; this.typeDescription = "A dependency is currently unavailable, please try again later."; } } exports.TryAgainException = TryAgainException;