1407 Invalid argument passed to method
Cause
This error occurs if the argument supplied to a primitive method is invalid. The following methods can return this error if they receive an invalid argument:
For example, as the negative argument in (-1.0).sqrt is invalid, this error is raised.
Action
You can find an explanation of the error in the
-
The argument was not in the domain of the function; for example, log(-1).
-
The argument would result in a singularity.
-
The argument would produce a function result greater than Max_Real; for example, exp(1000).
-
The argument would produce a function result less than Min_Real; for example, exp(-1000).
-
The argument would produce a function result with total loss of significant digits; for example, sin(10e70).
-
The argument was not formatted as a valid UUID representation.