Skip to content

Exitcode not match #17

@calmowls

Description

@calmowls

Following dotnet PDK build a wasm, when throw error or after Pdk.SetError it will return 1. But our Java sdk only throw exception when exitcode is -1. Is this a mismatch or any other consideration?
I also checked dotnet sdk. It seems first check error message, if the error message is not empty it will throw exception with both exitcode and error message.
Is there any convention under Extism org about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions