AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Using Unix Error Wrappers in Your System
So what it looks like is really just wrapping errors that come out of even like foreign systems for example so most of the times you can because the front end is also relying on these errors. So that includes any errors that you're getting from third parties that you might be calling one of the downsides to that is you might not know every single error type but that can be handled by just using say an internal server error for ones that you don't know. I've personally used it most recently when developing integrations with Stripe because Stripe has a ton of different types of errors and most of them we can handlebut however there's just like a few that come up that we're not