cg85-v2/Sources/Np85Snake/Board/SnakeError.swift
2025-10-02 18:40:00 +05:30

9 lines
166 B
Swift

public enum SnakeError: Error {
case malformedBoardState
case invalidHeight
case invalidWidth
case malformedBoardLine
case invalidBody
case unreachable
}