UNPKG

net-exceptions

Version:

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

22 lines 836 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Exception_1 = require("./Exception"); /** * The exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error. */ class UnauthorizedAccessException extends Exception_1.Exception { /** * Initializes a new instance of the `UnauthorizedAccessException`. * * @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.UnauthorizedAccessException = UnauthorizedAccessException; //# sourceMappingURL=UnauthorizedAccessException.js.map