Interceptor :

yes in Axois i have used interceptor for error handling globally for examples , when ever the Api call responses is coming , the interceptor will call inside that we can get the request data and response data if you want to do the globally level kind of rendering or something.

More