fauxrpc icon indicating copy to clipboard operation
fauxrpc copied to clipboard

Stub Errors

Open sudorandom opened this issue 1 year ago • 0 comments

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.

sudorandom avatar Oct 13 '24 18:10 sudorandom