Skip to main content
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.