Expand description
Shared error classification for host bindings (FFI / wasm /
gdext / Bevy). See host_error::ErrorKind.
Shared error classification for host bindings.
Each host crate (FFI, wasm, gdext, Bevy) translates simulation
failures into its own idiomatic error shape — EvStatus integers
for FFI, JsValue-shaped exceptions for wasm, Godot exceptions
for gdext. Without a shared classification the bindings used to
enumerate the kinds of failures separately, drifting whenever a
new failure mode landed.
ErrorKind is the shared
vocabulary. Hosts map it to their native error type (FFI provides
From<ErrorKind> for EvStatus).
See Host Binding Parity for the wider cross-host contract this enum is part of.
Enums§
- Error
Kind - Classification of failures every host binding can surface.