Closed CanOrhan closed 9 years ago
It isn't private, and it has static factory methods to quickly create instances.
On Sat, Apr 4, 2015, 8:13 AM Can Orhan notifications@github.com wrote:
I was creating a mock API Client using Dagger & Retrofit and though it may be useful to be able to return a mock RetrofitError in my callbacks but, unfortunately, it's private. Is there another way that this should be achieved?
— Reply to this email directly or view it on GitHub https://github.com/square/retrofit/issues/802.
Urgh. I'm sorry.
I was creating a mock API Client using Dagger & Retrofit and though it may be useful to be able to return a mock RetrofitError in my callbacks but, unfortunately, it's private. Is there another way that this should be achieved?