onError property
Used to generate Widget in case of an error. Error is passed as Nullable Object.
It provides BuildContext, error and child.
Default function, will simple return child itself, unless emptyOnError is true, in which case, default function, will return empty Container.
Implementation
final LazyOnErrorWidgetBuilder? onError;