Package bw :: Module bwerrors :: Class BrainwaveError
[frames] | no frames]

Class BrainwaveError

exceptions.Exception --+
                       |
                      BrainwaveError

This is the baseclass of all client side exceptions raised by Brainwave. It updates the response headers so that helpful information can be shown on the error page.

Instance Methods
 
__init__(self, message, errors=None)
 
__getstate__(self)
 
__setstate__(self, t)

Inherited from exceptions.Exception: __getitem__, __str__

Method Details

__init__(self, message, errors=None)
(Constructor)

 
Parameters:
  • message - The main error message
  • errors - A list of strings with additional information.
Overrides: exceptions.Exception.__init__