ArgumentError
Hierarchy
- Readonly<Error & { cause: unknown; message: string; name: ArgumentError; stack: string } & { name: ArgumentError }>
- ArgumentError
Index
Constructors
constructor
Error constructor
Properties
staticreadonlyinheritederrorName
Error name
Methods
staticinheritedasString
Static method to convert an error to a string
staticinheritedhasInstance
Return true if anyValue is an instance of current class
The ArgumentError object indicates an error that the program wrong argument is passed to a function