how to define many custom exceptions pytho code example Example: create custom exception python class CustomError(Exception): pass