Base class for PyJobTransform Exception classes
Definition at line 5 of file trferr.py.
◆ __init__()
def python.trferr.TransformError.__init__ |
( |
|
self, |
|
|
|
message = None , |
|
|
|
error = 'TRF_UNKNOWN' , |
|
|
** |
kwargs |
|
) |
| |
◆ __str__()
def python.trferr.TransformError.__str__ |
( |
|
self | ) |
|
Definition at line 13 of file trferr.py.
14 header =
'%s: ' % self.error
15 msg = header + self.message
16 indent = os.linesep +
' '*len(header)
17 for n,v
in self.extras.
items():
18 msg +=
'%s%s=%s' % (indent,n,v)
◆ setError()
def python.trferr.TransformError.setError |
( |
|
self, |
|
|
|
error |
|
) |
| |
Definition at line 21 of file trferr.py.
21 def setError(self,error):
23 self.args = (self.error,self.message)
◆ setMessage()
def python.trferr.TransformError.setMessage |
( |
|
self, |
|
|
|
message |
|
) |
| |
Definition at line 25 of file trferr.py.
25 def setMessage(self,message):
26 self.message = message
27 self.args = (self.error,self.message)
◆ args
python.trferr.TransformError.args |
◆ error
python.trferr.TransformError.error |
◆ extras
python.trferr.TransformError.extras |
◆ message
python.trferr.TransformError.message |
The documentation for this class was generated from the following file: