Back to index

python-cliapp  1.20120630
Public Member Functions | Public Attributes
cliapp.app.AppException Class Reference

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes

 msg

Detailed Description

Base class for application specific exceptions.

Any exceptions that are subclasses of this one get printed as
nice errors to the user. Any other exceptions cause a Python
stack trace to be written to stderr.

Definition at line 31 of file app.py.


Constructor & Destructor Documentation

def cliapp.app.AppException.__init__ (   self,
  msg 
)

Definition at line 41 of file app.py.

00041 
00042     def __init__(self, msg):
00043         self.msg = msg
        

Member Function Documentation

Definition at line 44 of file app.py.

00044 
00045     def __str__(self):
00046         return self.msg
    

Member Data Documentation

Definition at line 42 of file app.py.


The documentation for this class was generated from the following file: