Function to call when the asynchronous computation is done with error. If no function is passed, whenNotDone() will be used instead
final Widget Function(Object? error)? whenError;