There is a "global" error handler that is proxied by the sharder itself. But it doesn't really let you do anything about the error as it is.