Skip to content

[feature] A function request to return or define the names of errors that may occur in write, read #3137

Description

@shin101004

What problem does this new feature solve?

When I want to catch error, I'd like to distinguish between the issues arising from axios and contact.

스크린샷 2024-10-22 오후 5 40 37

I need to define all error name myself when library was updated.

스크린샷 2024-10-22 오후 5 46 21

Describe the solution you'd like

export const WriteContractErrorName = ~~ (string or string array)
export const ReadContractErrorName = ~~ (string or string array)

I hope you can export it as above

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions