public final Runnable getOnError ()

Retrieve the error handler to be called if an error occurs.

Returns:  the error handler or null if none is defined.