Skip to content

DiagnosticLevel

Defined in: api/node/rust-module.d.cts:481

This enum describes the level or severity of a diagnostic message produced by the compiler.

Error: 0

Defined in: api/node/rust-module.d.cts:483

The diagnostic found is an error that prevents successful compilation.


Info: 2

Defined in: api/node/rust-module.d.cts:487

The diagnostic is a suggestion that doesn’t affect the compilation.


Note: 3

Defined in: api/node/rust-module.d.cts:489

The diagnostic is a note to further help with the error or warning.


Warning: 1

Defined in: api/node/rust-module.d.cts:485

The diagnostic found is a warning.


© 2026 SixtyFPS GmbH