Skip to main content
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.