---
title: "actionWasRolledBack(_:snapshot:)"
framework: tabletopkit
role: symbol
role_heading: Instance Method
path: "tabletopkit/tabletopgame/observer/actionwasrolledback(_:snapshot:)"
---

# actionWasRolledBack(_:snapshot:)

Called once for each action which failed validation in the update in which it failed to be confirmed as a part of the shared network table state.

## Declaration

```swift
func actionWasRolledBack(_ action: some TabletopAction, snapshot: TableSnapshot)
```

## See Also

### Validating actions

- [validateAction(_:snapshot:)](tabletopkit/tabletopgame/observer/validateaction(_:snapshot:).md)
- [actionIsPending(_:oldSnapshot:newSnapshot:)](tabletopkit/tabletopgame/observer/actionispending(_:oldsnapshot:newsnapshot:).md)
- [actionWasConfirmed(_:oldSnapshot:newSnapshot:)](tabletopkit/tabletopgame/observer/actionwasconfirmed(_:oldsnapshot:newsnapshot:).md)
- [actionWasDiscarded(_:)](tabletopkit/tabletopgame/observer/actionwasdiscarded(_:).md)
