run<T> static method
T
run<T>(
- T f()
Implementation
static T run<T>(T Function() f) {
try {
return f();
} catch (e, s) {
global.value = ErrorReport(e, s);
rethrow;
}
}