view docs/exceptions.rst @ 73:47886a54a0d8 tip

Added tag 0.1.0 for changeset 8028e409d728
author Brian Neal <bgneal@gmail.com>
date Tue, 23 Jul 2013 20:51:54 -0500
parents 854c5d361011
children
line wrap: on
line source
Exceptions
==========

The ``m209`` library defines an exception hierarchy, rooted at the
``M209Error`` class. These exceptions are briefly described below.

.. class:: m209.M209Error()

   The base exception in the hierarchy. It inherits from the built in
   Python ``Exception`` class.

.. class:: m209.drum.DrumError()

   Inherits from :class:`~m209.M209Error`. This exception is used to report
   drum related errors.

.. class:: m209.key_wheel.KeyWheelError()

   Inherits from :class:`~m209.M209Error`. This exception is used to report key
   wheel related errors.

.. class:: m209.keylist.generate.KeyListGenError()

   Inherits from :class:`~m209.M209Error`. This is public exception, used
   to report errors during the key list generation process.

.. class:: m209.procedure.ProcedureError()

   Inherits from :class:`~m209.M209Error`. This is public exception, used
   to report errors during :class:`~m209.procedure.StdProcedure` operations.