Version: 2.2.1.
handleRequest assumes that error.response exists when catching an error thrown by Axios. As a result, creating error.message in the catch block throws a type error.
I've had this occur when a ETIMEDOUT code from Axios is returned. Based on https://axios-http.com/docs/handling_errors the catch block should check whether error.response or error.request exists.