FuelLabs/sway · error · anyhow::Error

Deferred AbiName is unhandled

Error message

Deferred AbiName is unhandled

What it means

Error "Deferred AbiName is unhandled" thrown in FuelLabs/sway.

Source

Thrown at forc-plugins/forc-doc/src/render/item/type_anchor.rs:131

                IntegerBits::ThirtyTwo => "u32",
                IntegerBits::SixtyFour => "u64",
                IntegerBits::V256 => "u256",
            };
            Ok(box_html! {
                : uint;
            })
        }
        TypeInfo::Boolean => Ok(box_html! {
            : "bool";
        }),
        TypeInfo::ContractCaller { abi_name, .. } => {
            // TODO: determine whether we should give a link to this
            if let AbiName::Known(name) = abi_name {
                Ok(box_html! {
                    : name.suffix.as_str();
                })
            } else {
                Err(anyhow!("Deferred AbiName is unhandled"))
            }
        }
        TypeInfo::Custom {
            qualified_call_path,
            ..
        } => Ok(box_html! {
            : qualified_call_path.call_path.suffix.as_str();
        }),
        TypeInfo::B256 => Ok(box_html! {
            : "b256";
        }),
        _ => Err(anyhow!("Undetermined or unusable TypeInfo")),
    }
}

View on GitHub (pinned to 47e5e902fa)

When it happens

Trigger: Thrown at forc-plugins/forc-doc/src/render/item/type_anchor.rs:131 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of FuelLabs/sway@47e5e902fa (2026-08-16). Data as JSON: /api/errors/8dd6436ccdc11c52. Report an issue: GitHub.