GlslError class
Thrown when a conversion fails.
import { GlslError } from '@dioramajs/glsl/convert'Carries every error, not just the first.
class GlslErrorMembers
| Name | Type | Description |
|---|---|---|
constructor | | |
cause? | unknown | |
readonly diagnostics | readonly GlslDiagnostic[] | In source order. |
message | string | |
readonly name | 'GlslError' | Always Default |
stack? | string | |
stackTraceLimit | number | The The default value is If set to a non-number value, or set to a negative number, stack traces will not capture any frames. |
captureStackTrace | | Creates a The first line of the trace will be prefixed with The optional The |
prepareStackTrace | |
Defined in packages/glsl/src/convert/errors.ts.