UNPKG

net-exceptions

Version:

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

17 lines (16 loc) 551 B
import { Exception } from "./Exception"; /** * The exception that is thrown when the time allotted for a process or operation has expired. */ export declare class TimeoutException extends 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?: string, innerException?: Exception); }