fauxrpc
fauxrpc copied to clipboard
Stub Errors
It would be useful to set up a method to return a specific error. This would probably re-use the stubs.v1.StubsService/AddStubs method by adding a property to stubs.v1.Stub. Note that this only makes sense when you're mocking a method. You should be given an error if you try to mock a type with an error.