You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but once you start adding your own Application errors using Splode there should be an additional class between invalid and framework, something like temporary or a generic application that can apply to things like:
I'm querying an external API and it's currently unavailable
You're being rate limited
invalid seems to express a condition that is true always, and framework expresses something that is internal and where the user has no influence. There should be something that expresses "Maybe try in a bit ¯_(ツ)_/¯"
Describe the solution you'd like
Add another error class that can be used from this kind of errors.
Describe alternatives you've considered @zachdaniel mentioned "a thing you can do with splice where you can write your own splode with your own error classes, and use it on the error returned" but I don't have more context about this
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently we have:
but once you start adding your own Application errors using Splode there should be an additional class between invalid and framework, something like temporary or a generic application that can apply to things like:
invalid
seems to express a condition that is true always, andframework
expresses something that is internal and where the user has no influence. There should be something that expresses "Maybe try in a bit ¯_(ツ)_/¯"Describe the solution you'd like
Add another error class that can be used from this kind of errors.
Describe alternatives you've considered
@zachdaniel mentioned "a thing you can do with splice where you can write your own splode with your own error classes, and use it on the error returned" but I don't have more context about this
The text was updated successfully, but these errors were encountered: