Adds ErrorHandler in raven.Client