Functional helper for throwing an error.
when(result.error, _throw); Copy
when(result.error, _throw);
Functional helper for throwing an error.