Closed
Description
I've occasionally wanted this (for example, it would enable better error reporting for ICEs) but haven't gotten around to implementing it. It should be quite easy now though. In core::rt::fail
stash the value in TLS, then in the task cleanup code, pull it out of TLS and put it into the notification message. Modify task::try
to return the string.
Ideally this will someday be an ~any
type instead of ~str
.