WorldFailure beta
Interface of @v12-engine/engine
ts
export interface WorldFailureWhy a game ended on an error (world.failure): plain data, for a log, a save's notes, a player's screen
Members
error
ts
error: {
name: string;
message: string;
stack?: string;
};The thrown error as plain data: its class name, its message and its stack where it had one
message
ts
message: string;What is said to whoever played: no more than that it stopped, and in what
tick
ts
tick: number;The tick the world was stepping when the part threw
where
ts
where: ErrorSite;The part that threw