Setting the event data is error
@override Future<void> error([Exception? error]) => accept(TextFieldState.error(value.data, error));