make it compile on rakudo again

also a small update to exception handling