destack:error import destack:error Structs - Err — Failed result variant. - HostErrorContextAudio — Audio host-error context payload. - HostErrorContextDevice — Device host-error context payload. - HostErrorContextDisplay — Display host-error context payload. - HostErrorContextFfi — FFI host-error context payload. - HostErrorContextGeneric — Generic host-error context payload. - HostErrorContextGpu — GPU host-error context payload. - HostErrorContextIo — I/O host-error context payload. - HostErrorContextIoDriver — I/O-driver host-error context payload. - HostErrorContextIpc — IPC host-error context payload. - HostErrorContextNet — Network host-error context payload. - HostErrorContextProcess — Process host-error context payload. - HostErrorContextResource — Resource host-error context payload. - HostErrorContextSecurity — Security host-error context payload. - HostErrorContextTimer — Timer host-error context payload. - HostPathPayloadBytes — Byte-path payload attached to an error context. - HostPathPayloadUtf16 — UTF-16 path payload attached to an error context. - HostSystemSourceEai — EAI source payload. - HostSystemSourceErrno — POSIX errno source payload. - HostSystemSourceHResult — HRESULT source payload. - HostSystemSourceOther — Other source payload. - HostSystemSourceSignal — Signal source payload. - HostSystemSourceWinsock — Winsock source payload. - IoError — Portable I/O failure. - Ok — Successful result variant. - Panic — Panic instance observed by hooks and supervisors. - PathError — I/O failure attached to a path operation. - Report — Erased error value for application boundaries. Enums - HostErrorCode — Error code returned by host bindings. - IoErrorKind — Portable I/O error category. Newtypes - HostError — Error returned by host bindings. - HostErrorContext — Typed context for host error metadata. - HostPathPayload — Path payload attached to an error context. - HostSystemSource — Host-level system source metadata. - Result — Recoverable success or failure. - StackFrameId — Opaque identity for a runtime stack frame. Newtype interfaces - Error — Recoverable failure protocol. Type aliases - PanicHook — Runtime hook invoked before a panic starts unwinding. - SourceLocation — Source location for a stack frame. - StackFrame — One frame in a stack trace. - StackTrace — Structured stack trace. - StackTraceOptions — Stack trace capture options. Functions - abort — Stop execution immediately without unwinding or cleanup. - breakpoint — Trigger a debugger breakpoint. - captureStackTrace — Capture a structured stack trace for the current Worker. - formatStackTrace — Format a structured stack trace as diagnostic text. - panic — Stop execution with a language panic. - setPanicHook — Install the runtime panic hook. - takeHostError — Error bindings for runtime error propagation. - takePanicHook — Remove the runtime panic hook and return the previous hook. - todo — Stop execution because code is intentionally unfinished. - trap — Stop execution with a low-level runtime trap. - unreachable — Mark this code path as unreachable.