


# onError property




    *[<Null safety>](https://dart.dev/null-safety)*



[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage) onError
  
_<span class="feature">final</span>_






## Implementation

```dart
final Widget Function(
  BuildContext context,
  FormStatus status,
  String? errorMessage,
) onError;
```







