Skip to content

rune-langium / codegen/src / GeneratorError

Class: GeneratorError

Defined in: packages/codegen/src/types.ts:115

Thrown when strict mode is enabled and any error diagnostic is produced. FR-022.

Extends

  • Error

Constructors

Constructor

ts
new GeneratorError(message, diagnostics): GeneratorError;

Defined in: packages/codegen/src/types.ts:119

Parameters

ParameterType
messagestring
diagnosticsGeneratorDiagnostic[]

Returns

GeneratorError

Overrides

ts
Error.constructor

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
cause?publicunknown-Error.causenode_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error.d.ts:24
diagnosticsreadonlyGeneratorDiagnostic[]The diagnostics that caused this error.-packages/codegen/src/types.ts:117
messagepublicstring-Error.messagenode_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1075
namepublicstring-Error.namenode_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1074
stack?publicstring-Error.stacknode_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1076

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.