Skip to main content

Documentation Index

Fetch the complete documentation index at: https://prism-ddf93e61.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

pub async fn resolve_contract_error(
    contract_id: &str,
    error_index: u32,
    wasm_cache: &WasmCache
) -> Result<ResolvedError, PrismError>
Parses the contractspecv0 sections of the contract’s WASM to resolve numeric error codes into human-readable enum names.