Skip to main content

Module error

Module error 

Source

Structs§

Error
An engine error. JavaScript exceptions will eventually carry a heap value; this type is also usable before a context exists (lexer and decoder errors).
NativeErrorMessage
Raw bytes produced by QuickJS’s stack-local char buf[256] native-error formatter. The payload silently stops at 255 bytes; JavaScript String construction observes only the prefix before the first formatted NUL.

Enums§

ErrorKind
NativeErrorKind
QuickJS native Error subclasses, in the same stable order as JSErrorEnum in the 2026-06-04 baseline.