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

Missing docs on error handling #280

Closed
dalechyn opened this issue Apr 25, 2024 · 0 comments
Closed

Missing docs on error handling #280

dalechyn opened this issue Apr 25, 2024 · 0 comments
Labels
A: Docs Area: Documentation D: Easy Difficulty: Easy Good First Issue Misc: Good First Issue P: Low Priority: Low T: Chore Type: Chore

Comments

@dalechyn
Copy link
Collaborator

dalechyn commented Apr 25, 2024

Seems like people don't know yet that frog can return error responses in frame, cast action and transaction handlers!

Ref: https://warpcast.com/justin-eth/0x86e7a5be, https://warpcast.com/samuellhuber/0x61c858cf

The actual docs that we have rn: https://frog.fm/reference/frog-transaction-context#error, https://frog.fm/reference/frog-frame-context#error, https://frog.fm/reference/frog-cast-action-context#error.

The goal would be to have a separate page that would explain how to return an error. This might also go into a "Best Practices" page.

@dalechyn dalechyn assigned dalechyn and unassigned dalechyn Apr 25, 2024
@dalechyn dalechyn added A: Docs Area: Documentation D: Easy Difficulty: Easy Good First Issue Misc: Good First Issue P: Low Priority: Low T: Chore Type: Chore labels Apr 25, 2024
@tmm tmm closed this as completed in 631b1b9 May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Docs Area: Documentation D: Easy Difficulty: Easy Good First Issue Misc: Good First Issue P: Low Priority: Low T: Chore Type: Chore
Projects
None yet
Development

No branches or pull requests

1 participant