Typescript Fetch Error Handling In Mule