Validation in RPC call?

Phillip B Oldham phillip.oldham at gmail.com
Mon Sep 7 11:00:31 EDT 2009


I'm building an RPC service, and I need to validate the input and
provide informative error messages to users. What would be the best
way to do this? Simple `if` statements each raising a custom
exception? `assert` statements inside a try/except block to
"translate" the assertion errors into something more meaningful?



More information about the Python-list mailing list