How to declare custom exceptions in modern Python?
To declare a simple custom exception we can have a script like this
class MyException(Exception):
pass
But how do I declare a custom exception to override something or to pass extra arguments to the exception?