UNPKG

net-exceptions

Version:

Provides lightweight versions of the most important exceptions from Microsoft's .NET

22 lines 748 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Exception_1 = require("./Exception"); /** * The exception that is thrown when the time allotted for a process or operation has expired. */ class TimeoutException extends Exception_1.Exception { /** * Initializes a new instance of the `TimeoutException` class. * * @param message * A message that describes the current exception. * * @param innerException * The Exception instance that caused the current exception. */ constructor(message, innerException) { super(message, innerException); } } exports.TimeoutException = TimeoutException; //# sourceMappingURL=TimeoutException.js.map