UNPKG

@tsdotnet/exceptions

Version:

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/tsdotnet/exceptions/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/@tsdotnet/exceptions.svg?style=flat-square)](https://www.npm

14 lines (13 loc) 583 B
/*! * @author electricessence / https://github.com/electricessence/ * Licensing: MIT * Based upon: https://msdn.microsoft.com/en-us/library/System.Exception%28v=vs.110%29.aspx */ import ArgumentException from './ArgumentException.js'; type Primitive = string | number | boolean; export default class ArgumentOutOfRangeException extends ArgumentException { readonly actualValue: Primitive | null | undefined; constructor(paramName: string, actualValue: Primitive | null | undefined, message?: string, innerException?: Error); protected getName(): string; } export {};