module Codebreaker module Errors class GameOverError < StandardError def initialize(msg = 'No attempts available or a player won the game') super end end end end