Closed
Description
It would be great to have a transformResponse
equivalent for errors. The transformError
property would allow manipulation of the error returned by a query or mutation before it hits the cache.
This new property would help to decouple error parsing logic from the view. The service will encapsulate the logic, and the views will act just as a presenter of the data/error the query or mutation returns.