Error -112 (Invalid Parameter Value in Function)¶
This is an error that can occur when a function converts the passed parameter to the desired data type and this conversion fails. For example, it could occur when the passed value exceeds the size of an integer or is not a value that can be converted to an integer.

It is ALWAYS a programming error.
Solution¶
- Check the parameter type and value that is passed to the function and make corrections; change to a different function if available.