9 lines
166 B
Swift
9 lines
166 B
Swift
public enum SnakeError: Error {
|
|
case malformedBoardState
|
|
case invalidHeight
|
|
case invalidWidth
|
|
case malformedBoardLine
|
|
case invalidBody
|
|
case unreachable
|
|
}
|