On the caller side, a failed stub call rejects with an
Error whose name identifies
the cause — for example ActorMethodError (your method threw; message preserved),
ActorPrivateMethodError (_-prefixed method), or ActorUnknownMethodError. Branch on
err.name if you need to distinguish them.
Related
- Actor Context —
blockConcurrencyWhile - Execution Model — the output-gate guarantee behind
ActorOutputGateError