If I have a python function with 2 optional parameters (for search criteria) but no one is provided (I need at least one parameter) what is the right exception to throw?
What if I only one of two parameters have to be passed? What exception to throw if two are provided? Or may be create two distinct functions?