Michael Karén
1 min readMay 10, 2019

--

I think you can use:

return throwError(new HttpErrorResponse({status: 500}))

--

--

Michael Karén
Michael Karén

Written by Michael Karén

Frontend Architect • JavaScript Enthusiast • Educative.io Author • ngVikings organizer.

No responses yet