Skip to content

sdk: From/TryFrom between the wit-bindgen Fault and the SDK Fault #286

Description

@mfw78

Problem. A ChainError -> Fault conversion exists (host.rs), but there is no From / TryFrom between the wit-bindgen-generated Fault and the SDK Fault; call sites convert by hand.

Change. Add From / TryFrom between the bindgen Fault and the SDK Fault.

Relates. #206. Surfaced by the #213 review notes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/sdknexum-sdk / shepherd-sdk, proc macros, cargo-nexumdebtCode works but makes future work harder.dxDeveloper experience is suffering.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions