Home | Trees | Indices | Help |
---|
|
object --+ | exceptions.BaseException --+ | exceptions.Exception --+ | ExceptionWithMessage
Useful base class for exceptions that have a single exception message argument. Among other things, this method provides a reasonable default __str__() method.
Usage:
from grizzled.exception import ExceptionWithMessage class MyException(ExceptionWithMessage): def __init__(self, msg): ExceptionWithMessage.__init__(self, msg)
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
message The message stored with this object. |
|||
Inherited from Inherited from |
|
Create a new exception. @type errorMessage: string @param errorMessage: the error message
|
str(x)
|
|
messageThe message stored with this object.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Mar 14 15:21:06 2016 | http://epydoc.sourceforge.net |