Validation in RPC call?

Phillip B Oldham phillip.oldham at gmail.com
Mon Sep 7 17:00:31 CEST 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