add user defined error handler to job description