BattleException

class BattleException @JvmOverloads constructor(message: String, cause: Throwable? = null, val notConnected: List<BotIdentity> = emptyList()) : RuntimeException

Thrown when a battle cannot start or fails to complete.

Parameters

message

human-readable description of the failure

cause

the underlying exception, if any

Constructors

Link copied to clipboard
constructor(message: String, cause: Throwable? = null, notConnected: List<BotIdentity> = emptyList())

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard

The bots that had not connected when the battle could not start, in time or at all; empty for every other failure.