Skip to content

add custom error handling and error tracer#1580

Draft
dominik-stumpf wants to merge 16 commits intoadd-guild-pagefrom
add-custom-error-handling
Draft

add custom error handling and error tracer#1580
dominik-stumpf wants to merge 16 commits intoadd-guild-pagefrom
add-custom-error-handling

Conversation

@dominik-stumpf
Copy link
Copy Markdown
Contributor

@dominik-stumpf dominik-stumpf commented Dec 9, 2024

No description provided.

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
guild-xyz ❌ Failed (Inspect) Dec 11, 2024 4:23pm

@dominik-stumpf dominik-stumpf changed the base branch from main to add-guild-page December 9, 2024 17:14
)}
{convergedError.recoverable && (
<Button
onClick={resetBoundary}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think we don't need the recovery functionality for now

return "There are issues with the provided data.";
}

public static fromZodError(error: ZodError): ValidationError {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We can remove the zod-related stuff and just use this error for custom validation errors

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