File:  [ELWIX - Embedded LightWeight unIX -] / gpl / axl / py-axl / doc / error.rst
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Fri Feb 17 12:50:03 2012 UTC (12 years, 7 months ago) by misho
Branches: axl, MAIN
CVS tags: HEAD, AXL0_6_7
version 0.6.7

:mod:`axl.Error` --- PyAxlError class: error handling and reporting
===================================================================

.. currentmodule:: axl


=====
Intro
=====

:class:`axl.Error` class is used to report errors found while using
PyAxl API. The class contains two attributes that contains the integer
error code and a textual diagnostic with a human readable text.

==========
Module API
==========

.. class:: Error

   .. attribute:: code

      (Read only attribute) (Integer) Error code.

   .. attribute:: msg

      (Read only attribute) (String) Textual error.


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>