Home | Trees | Indices | Help |
|
---|
|
Controls handling of exceptions and stderr through the setting of handlers.
Anexception_handler
is a function with these
arguments:
exception
: The exception being handled. In case of a
remote exception, this exception object is a client-side
reconstruction of the server-side exception.
op
: A command of type Op
, or, in case of
a remote exception, a command description, obtained by applying
str()
.
input
: Input to the command that raised the
exception.
host
: The host on which the exception occurred, or
None
if local.
error_handler
is a function with these arguments:
line
: A line written to stderr.
op
: A command of type Op
, or, in case of
remote stderr output, a command description, obtained by applying
str()
.
input
: Input to the command that generated the stderr
output.
host
: The host on which the stderr output occurred,
or None
if local.
Classes | |
Error | |
ExceptionHandlerException |
Functions | |||
|
|||
|
|||
|
|||
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Tue Jan 1 16:27:54 2008 | http://epydoc.sourceforge.net |