Skip to content

Expose error code for upload failure reason #807

@juliangruber

Description

@juliangruber

In https://github.com/filecoin-project/filecoin-pin/pull/501/changes#diff-2edc6b782492bf066084334ff910ec3612fe97810c48080752d8b04759da7b5bR85-R95, we match on error strings in order to classify the failure. It would be great if the SDK exposed error codes, that can be relied on without fearing accidental breakage when strings change.

After releasing, update Filecoin Pin to use the error codes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    📌 Triage

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions