Workers
INTERNAL
=== Died in as-soon CATCH:\n", .message, "\n", .backtrace.Str } $mgr.message: Async::Workers::Msg::Exception, exception => $_; $mgr.x-sorry($_, $what ~ " promise handler"); $mgr.bail-out: $_; .rethrow } &code( $_ ) } }
SORRY
!===' ); @sorry.push: $_ with $what; # @sorry.push: "thrown " ~ $exception.^name ~ ":"; given $exception { note @sorry.join(" "), "\n", ( "[" ~ .^name ~ "] " ~ .message ).indent(2), "\n", .backtrace.Str.indent(2) } }