Module error

Module error 

Source
Expand description

Error types raised by the Stylus runtime.

All public APIs return StylusError. Host-function failures and module-lifecycle failures share one enum because both flow through the same surfaces (host functions trap; lifecycle errors revert the EVM frame) and callers benefit from a single match site.

Enums§

StylusError
All failure modes raised by the Stylus runtime.

Type Aliases§

MaybeEscape
Result alias used by host functions whose only meaningful return is “success or trap”.