Skip to content

Expose error code for upload failure reason #807

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    • Status
      🐱 Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions