Create type checks for all parameters passed into the functions and add human-readable error messages.
I.e. when passing a string to a field that requires a Choice object the current error message fails at the serialization. It would be better to get a type mismatch exception.
Create type checks for all parameters passed into the functions and add human-readable error messages.
I.e. when passing a string to a field that requires a
Choiceobject the current error message fails at the serialization. It would be better to get a type mismatch exception.