Package qb :: Package utils :: Module exceptions
[hide private]
[frames] | no frames]

Source Code for Module qb.utils.exceptions

 1   
 2   
3 -class QubeUtilityGeneralError(Exception):
4 ''' 5 An exception class used to indicate an error condition not handled by the qb.utils package. 6 '''
7 - def __init__(self, value):
8 ''' 9 @param value: an error message 10 @type value: C{str} 11 ''' 12 self.value = value
13
14 - def __str__(self):
15 ''' 16 @return: The string representation of the error message that was passed when raising this exception 17 @rtype: C{str} 18 ''' 19 return repr(self.value)
20