Mercurial > public > m209
annotate docs/exceptions.rst @ 71:854c5d361011
Documentation cleanup.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 23 Jul 2013 20:18:05 -0500 |
parents | 30aa114bb746 |
children |
rev | line source |
---|---|
bgneal@68 | 1 Exceptions |
bgneal@68 | 2 ========== |
bgneal@68 | 3 |
bgneal@68 | 4 The ``m209`` library defines an exception hierarchy, rooted at the |
bgneal@68 | 5 ``M209Error`` class. These exceptions are briefly described below. |
bgneal@68 | 6 |
bgneal@68 | 7 .. class:: m209.M209Error() |
bgneal@68 | 8 |
bgneal@68 | 9 The base exception in the hierarchy. It inherits from the built in |
bgneal@68 | 10 Python ``Exception`` class. |
bgneal@68 | 11 |
bgneal@68 | 12 .. class:: m209.drum.DrumError() |
bgneal@68 | 13 |
bgneal@71 | 14 Inherits from :class:`~m209.M209Error`. This exception is used to report |
bgneal@71 | 15 drum related errors. |
bgneal@68 | 16 |
bgneal@68 | 17 .. class:: m209.key_wheel.KeyWheelError() |
bgneal@68 | 18 |
bgneal@71 | 19 Inherits from :class:`~m209.M209Error`. This exception is used to report key |
bgneal@71 | 20 wheel related errors. |
bgneal@68 | 21 |
bgneal@68 | 22 .. class:: m209.keylist.generate.KeyListGenError() |
bgneal@68 | 23 |
bgneal@68 | 24 Inherits from :class:`~m209.M209Error`. This is public exception, used |
bgneal@68 | 25 to report errors during the key list generation process. |
bgneal@68 | 26 |
bgneal@68 | 27 .. class:: m209.procedure.ProcedureError() |
bgneal@68 | 28 |
bgneal@68 | 29 Inherits from :class:`~m209.M209Error`. This is public exception, used |
bgneal@68 | 30 to report errors during :class:`~m209.procedure.StdProcedure` operations. |