


# onError property




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



(void 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 void Function(
  BuildContext context,
  FormStatus status,
  String? errorMessage,
)? onError;
```







