reyesoft / ngx-jsonapi

JSON API client library for Angular 5+ 👌 :: Production Ready 🚀
https://ngx-jsonapi.reyesoft.com/
MIT License
101 stars 52 forks source link

new Error instances return an empty object #126

Closed maxi7587 closed 5 years ago

maxi7587 commented 6 years ago

When recieving an error, the library correctly displays the error in console, but when instantiating the Error class inside exec method (return throwError(new Error(error));), it returns an empty object.