Hook to be called if initialization fails.
@override Widget? errorScreen(error, void Function() refresh) { return _onError?.call(error, refresh); }