API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classRenderError
Structured GPU/render failure. Thrown by synchronous failure paths (WebGL2 shader compile/link, from `flush()`) and dispatched by RenderBackend.onRenderError for asynchronous ones (WebGPU compilation info, uncaptured validation/OOM/internal errors). Extends Error, so `app.onError` subscribers can narrow with `error instanceof RenderError` and read the structured RenderError.code, RenderError.backendType, RenderError.resource and RenderError.detail fields instead of parsing the raw driver log.
import { RenderError } from '@codexo/exojs'Structured GPU/render failure. Thrown by synchronous failure paths (WebGL2 shader compile/link, from `flush()`) and dispatched by RenderBackend.onRenderError for asynchronous ones (WebGPU compilation info, uncaptured validation/OOM/internal errors).
Extends Error, so `app.onError` subscribers can narrow with `error instanceof RenderError` and read the structured RenderError.code, RenderError.backendType, RenderError.resource and RenderError.detail fields instead of parsing the raw driver log.
new(options: RenderErrorOptionsConstruction options for a RenderError.): RenderErrorcause?: unknowndetail: null | stringmessage: stringname: stringresource: null | stringstack?: string