Skip to content

charton API


charton API / @chart-on/core / index / CHART_ERROR_CODES

Variable: CHART_ERROR_CODES ​

const CHART_ERROR_CODES: readonly ["webgl2-unavailable", "webgl-shader", "webgl-restore-failed", "unknown-symbol", "load-failed", "history-failed", "reset-failed", "adjustments-failed", "markers-failed", "invalid-interval", "invalid-drawings", "invalid-layout", "listener-failed", "primitive-failed", "destroyed", "plugin-incompatible", "not-registered"]

Defined in: packages/core/src/errors.ts:7

Every ChartErrorCode, for code that needs the list at runtime.