Skip to content

CrashKind beta ​

TypeAlias of @v12-engine/client

ts
export type CrashKind = 'load' | 'frame' | 'device' | 'rules';

Why a game stopped: - load: it could not be loaded (its map, its files, its engine) - frame: something in the client's frame threw that nothing else caught: the picture would have stood still - device: the graphics device it was drawn with was lost (a driver that restarted, a GPU taken back by the system) - rules: its rules threw and the game ended there (GameSession.failure, Rules.onError)