---
title: "multiplayerSessionFailed(reason:)"
framework: tabletopkit
role: symbol
role_heading: Instance Method
path: "tabletopkit/tabletopgame/multiplayerdelegate-swift.protocol/multiplayersessionfailed(reason:)"
---

# multiplayerSessionFailed(reason:)

We failed to start or join a new multiplayer session or had to terminate a previously started multiplayer session.

## Declaration

```swift
func multiplayerSessionFailed(reason: any Error)
```

## See Also

### Handling errors

- [didRejectPlayer(_:reason:)](tabletopkit/tabletopgame/multiplayerdelegate-swift.protocol/didrejectplayer(_:reason:).md)
