def trace_error

bendvy-ecs-core@0.1.0.4 · component.bend:259

import bendvy-ecs-core@0.1.0.4/component.bend as Component
import Base
import world.bend as W

259def trace_error(error:W.WorldError) -> String:
260  match error:
261    case W.MissingEntity{}:"MissingEntity"
262    case W.CapacityExceeded{}:"CapacityExceeded"
263    case W.NamespaceExhausted{}:"NamespaceExhausted"
264    case W.SystemIdExhausted{}:"SystemIdExhausted"

Uses (2)

Used by (1)