I'm new to the actor model and I wonder how runtime errors should be handled.
Suppose actor catches exception, what should it do then?
I definitely want the sender to be notified of any errors, so, at least sender could log the errors.
Should all the response messages contain status
field or should there exist XXXErrorMessage
class for every response message in my application?
What are best practices for error handling in actor model?