debugRethrowError property

bool debugRethrowError
getter/setter pair

Whether the latest error received by the asynchronous computation should be rethrown or swallowed. This property is useful for debugging purposes.

When set to true, will rethrow the latest error only in debug mode.

Defaults to false, resulting in swallowing of errors.

Implementation

static bool debugRethrowError = false;