Rename errorHandler to getErrorHandler()