leteError</a>, <a href="dart-async/StreamController/addError.html">StreamController.addError</a>,
or some <a href="dart-async/Future-class.html">Future</a> constructors, the current zone is allowed to intercept
and replace the error.</p>
<p>Future constructors invoke this function when the error is received
directly, for example with <a href="dart-async/Future/Future.error.html">Future.error</a>, or when the error is caught
synchronously, for example with <a href="dart-async/Future/Future.sync.html">Future.