addErrorInterceptor documentation