Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shin101004 opened this issue Oct 23, 2024 · 0 comments

Comments

@shin101004
Copy link

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

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

No branches or pull requests

1 participant