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 Args section.
Parameters | |
msg | Human readable string describing the exception. |
code | Error code. |