Skip to main content

Module error

Module error 

Source
Expand description

The typed error vocabulary of the RenderBackend boundary. Backends map their native failure codes (VkResult, HRESULT, MTLCommandBuffer status) into these classes at the detection sites; the frame loop dispatches recovery policy on the class, never on prose. Other carries legacy string errors so interior call sites can migrate incrementally.

Enums§

DeviceLostReason
Why the GPU device stopped servicing work, as reported by the backend API.
RenderError
A failure crossing the RenderBackend boundary, classified for recovery.

Type Aliases§

RenderResult
A backend call’s result.