Axios Error Handling Typescript Interface Extends Typescript