1 ! Copyright (C) 2009 Joe Groff.
2 ! See https://factorcode.org/license.txt for BSD license.
3 USING: accessors debugger game.loop io ;
4 IN: game.loop.prettyprint
6 M: game-loop-error-state error.
7 "An error occurred inside a game loop." print
8 "The game loop has been stopped to prevent runaway errors." print
9 "The error was:" print nl