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

Error handling for comunication with the blockchain #138

Conversation

Filip-L
Copy link
Collaborator

@Filip-L Filip-L commented Sep 26, 2024

No description provided.

})

const data = await response.json()
if (data?.error && data.error.code === -32603) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extract magic number to named constant

src/lib/glifApi.ts Show resolved Hide resolved
src/hooks/useApplicationActions.ts Outdated Show resolved Hide resolved
src/type.ts Outdated Show resolved Hide resolved
@kacperzuk-neti kacperzuk-neti merged commit 495f960 into main Sep 27, 2024
5 checks passed
@kacperzuk-neti kacperzuk-neti deleted the FIL-298-error-handling-for-communication-with-the-blockchain branch September 27, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants