go-perun
go-perun copied to clipboard
Client.Handle should return error
Currently, method Client.Handle
does not return an error when there is a connection failure. It only logs the error and returns. We should consider returning the error so that the framework user can act on it.
So you mean to switch on the error type and then decide?
Because when the client is closed, nextReq
returns a context error which should not be returned.