InvalidGameStateInFile

class InvalidGameStateInFile(val message: String = "The game state in the file is invalid", type: ErrorType) : ReversiException

Thrown when a game state in the persisted game file is malformed or contains values that cannot be converted into a valid game state.

Typical causes:

  • Missing or extra data

  • Inconsistent game state information

  • Invalid format or corrupted data

Constructors

Link copied to clipboard
constructor(message: String = "The game state in the file is invalid", type: ErrorType)

Properties

Link copied to clipboard
open override val message: String