@kephas/core
Version:
Provides a common infrastructure for all the other Kephas Framework components: ambient services, dynamic reflection, composition, application management, and others.
18 lines (17 loc) • 442 B
TypeScript
/**
* Signals that an argument is not valid.
*
* @export
* @class ArgumentError
* @extends {Error}
*/
export declare class ArgumentError extends Error {
argName: string;
/**
* Creates an instance of ArgumentError.
* @param {string} message The error message.
* @param {string} argName The argument name.
* @memberof ArgumentError
*/
constructor(message: string, argName: string);
}