class X::Proc::Async::AlreadyStarted is Exception {}

When you call start twice on the same Proc::Async object, the second invocation will die with an X::Proc::Async::AlreadyStarted exception.

my $proc = Proc::Async.new("echo");
$proc.start;
$proc.start;
CATCH { default { put .^name''.Str } };
# OUTPUT: «X::Proc::Async::AlreadyStarted: Process has already been started␤»

Typegraph§

Type relations for X::Proc::Async::AlreadyStarted
raku-type-graph X::Proc::Async::AlreadyStarted X::Proc::Async::AlreadyStarted Exception Exception X::Proc::Async::AlreadyStarted->Exception X::Proc::Async X::Proc::Async X::Proc::Async::AlreadyStarted->X::Proc::Async Mu Mu Any Any Any->Mu Exception->Any X::Proc::Async->Exception

Expand chart above