exception documentation
Exceptions are documented in the same way as classes.
The __init__ method should be documented as a docstring on the __init__ method.
Note
Do not include the self parameter in the Parameters section.
| Parameters | |
| msg | Human readable string describing the exception. |
| code | Numeric error code. |