Skip to main content

Module error

Module error 

Source

Structs§

ImportHashMismatchDetail
Boxed payload for RuntimeError::ImportHashMismatch. Carries the raw #import path, the algorithm name, and the expected / actual digests so error rendering can surface enough context for the operator to decide whether to update the pin or refuse the load.
RemoteImportDenial
Boxed payload for RuntimeError::RemoteImportDenied. Holds the URL the script attempted to import plus the human-readable reason the sandbox refused it.
RemoteImportFailure
Boxed payload for RuntimeError::RemoteImportFailed. Holds the URL the host attempted to fetch plus a free-form cause string so the per-host fetch error type does not leak into the enum surface.
RemoteImportHashMismatchDetail
Boxed payload for RuntimeError::RemoteImportHashMismatch. The hash-pinning syntax is not wired yet (see the variant doc), but the type ships so the eventual lockfile / inline-pin work can produce it without churning the error enum’s layout.

Enums§

RuntimeError