I have an RPC interface where most interface methods do not return a value, 
but perform some action on the server that may fail.

If I just use `request.send();`, the call is made as intended, but any 
errors (i.e., exceptions) on the server side are silently ignored.

Is using `request.send().ignoreResult().eagerlyEvaluate(errorHandler);` the 
intended method for detecting such errors from the client side?

Is `kj::TaskSet` the appropriate container for storing such error handlers 
until they resolve?

While each of those types is well documented on its own, I haven't found a 
lot of information on using the various types together. Is there a source 
of documentation I have missed? Especially regarding error handling?

Thanks!
Johannes

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to