Module lib_battleship::results [] [src]

Result types for all operations that can fail.

Enums

GameError

General errors when creating a game.

GameStartError

Possible errors when trying to start playing.

PlaceError

Errors that can occur whene placing ships.

ShipTypeError

Errors concerning ship types.

ShootError

Errors that can occur when shooting.

ShootOk

Possible positive outcomes of shooting.