UNPKG

@manuth/exceptions

Version:

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

17 lines (16 loc) 599 B
import { Exception } from "./Exception.js"; /** * The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection. */ export declare class KeyNotFoundException extends Exception { /** * Initialized a new instance of the {@linkcode KeyNotFoundException} 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); }