Called when the status is LxError.
final Widget Function(Object error, StackTrace? stackTrace)? onError;