You don't need this, this is already part of the functionality inherited from exception:
```py
>>> class LolError(Exception):
...   pass
... 
>>> LolError('rofl')
LolError('rofl',)
>>> raise LolError('rofl')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
__main__.LolError: rofl
```