@w5s/errorClassesArgumentErrorOn this pageArgumentError The ArgumentError object indicates an error that the program wrong argument is passed to a functionHierarchyReadonly<Error & { cause: unknown; message: string; name: ArgumentError; stack: string } & { name: ArgumentError }>ArgumentErrorIndex ConstructorsconstructorPropertieserrorNameConstructors constructornew ArgumentError(...properties: [properties?: ErrorClassProperties<{}>]): ArgumentErrorError constructorProperties staticreadonlyerrorNameerrorName: ArgumentErrorError name
The ArgumentError object indicates an error that the program wrong argument is passed to a function