Proper way to declare custom exceptions in modern Python? Proper way to declare custom exceptions in modern Python? python python