Skip to content

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

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. nullislabs/shepherd#206. Surfaced by the nullislabs/shepherd#213 review notes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:errorsTyped error/fault taxonomy, From wiring, Fault boundary conversionsarea:sdkGuest-side ergonomics: nexum-sdk, nexum-sdk-test, module macrosdebtRefactor/cleanup: typed replacements for stringly code, dedup, right-sizing

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions