Andrei
Andrei
@hieuvo I might have missed something, but this isn't safe for concurrent code, as it isn't changing the return for the function instance, it is changing the return for the...
It's frustrating this hasn't been officially implemented, as it is a real pain to mock tests that fail for intermittent calls. Examples where this is needed are filesystem and http....
Yes, it would be perfect. I would advise exposing apiError as ApiError adding an Error() method with returns Error.Description. Then you could use @js.go:469 ``` return nil, fmt.Errorf("nats: %w", pa.Error)...
I'm not sure from the conversation as to whether NATS server supports this. If not then the comment on the function should change. If it does, then the following function...