Add config options for adding error handlers
0.18.0