Axios Error Handling Typescript Download Excel