Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Question: Is it sane to infer errors? #28

Closed
KATT opened this issue Feb 1, 2022 · 2 comments
Closed

Question: Is it sane to infer errors? #28

KATT opened this issue Feb 1, 2022 · 2 comments
Labels
❕ RFC Request for comments - please comment!

Comments

@KATT
Copy link
Member

KATT commented Feb 1, 2022

Please discuss

How useful is it really? Unexpected errors still needs handling.

@KATT KATT added the ❕ RFC Request for comments - please comment! label Feb 1, 2022
@KATT KATT changed the title Is it sane to infer errors? Question: Is it sane to infer errors? Feb 1, 2022
@mgreenw
Copy link

mgreenw commented Feb 4, 2022

I don't think it's that useful, especially because it's possible to already make a "generic" error handler to render all of the trpc error codes as well as page-specific error handlers for "not found" or "bad request", etc. Definitely not worth breaking changes, but if it could be implemented with good performance and without breaking changes I'd be open to it!

@KATT
Copy link
Member Author

KATT commented Apr 11, 2022

Note gonna do this for now.

@KATT KATT closed this as completed Apr 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
❕ RFC Request for comments - please comment!
Projects
None yet
Development

No branches or pull requests

2 participants