@manuth/exceptions
Version:
Provides lightweight versions of the most important exceptions from Microsoft's .NET
19 lines • 665 B
JavaScript
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 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, innerException) {
super(message, innerException);
}
}
//# sourceMappingURL=KeyNotFoundException.js.map