ValueError ValueError
&reftitle.intro; A ValueError is thrown when the type of an argument is correct but the value of it is incorrect. For example, passing a negative integer when the function expects a positive one, or passing an empty string/array when the function expects it to not be empty.
&reftitle.classsynopsis; ValueError extends Error &InheritedProperties; &InheritedMethods;