API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

classRenderError

@codexo/exojs / rendering / stable

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.

8
props
0
methods
0
events
Import
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.

Constructors1
Properties8
cause?: unknown
detail: null | string
Raw driver log and/or numbered source excerpt, or null when unavailable.
message: string
name: string
resource: null | string
WebGl2Shader/material/pipeline label, or null when unknown.
stack?: string
Source