TypeScript Custom Error Class: Modified Error Message Not Being Displayed
I’m having trouble with a custom error class in TypeScript where the modified error message does not display correctly, I just get the error message returned from the API call.
My customError classs–