AICoreError
class
AI-specific error class. Intentionally does not extend CKEditorError:
datais not stringified into the message.- Watchdog does not catch and restart the editor for AI failures.
- Uses the native
causechain to preserve the original error.
Properties
code : stringreadonlymodule:ai/aicore/errors/aicoreerror~AICoreError#codecontext : Record<string, unknown> | undefinedreadonlymodule:ai/aicore/errors/aicoreerror~AICoreError#contextisAbort : booleanreadonlymodule:ai/aicore/errors/aicoreerror~AICoreError#isAbortseverity : AICoreErrorSeverityreadonlymodule:ai/aicore/errors/aicoreerror~AICoreError#severitytype : AICoreErrorTypereadonlymodule:ai/aicore/errors/aicoreerror~AICoreError#type
Methods
constructor( init )module:ai/aicore/errors/aicoreerror~AICoreError#constructorCreates a new AI core error.
Parameters
init : AICoreErrorInitInitialization fields. See
AICoreErrorInit.