Class: WebGLUnavailableError
Thrown by createChart (and the rejection of newPlot / react / toImage) when no WebGL2 context can be created: the browser lacks WebGL2, it is disabled, or the GPU is blocklisted. cause holds the renderer's own error.
Extends
Constructors
Constructor
ts
new WebGLUnavailableError(cause): WebGLUnavailableError;Parameters
| Parameter | Type |
|---|---|
cause | unknown |
Returns
WebGLUnavailableError
Overrides
Properties
| Property | Type | Inherited from |
|---|---|---|
cause? | unknown | HolochartError.cause |
message | string | HolochartError.message |
name | string | HolochartError.name |
stack? | string | HolochartError.stack |