Handling HTTP API Errors with Problem Details

Veröffentlicht am: 29 September 2021
auf dem Kanal: CodeOpinion
17,399
439

If you're developing an HTTP API, having a consistent way of returning errors can make handling errors on the client-side simpler.

I've talked about Problem Details in another video, which is a standard for returning machine-readable details of errors in an HTTP Response. In this video, I'll cover how to consume those errors from the client-side.

Dotnetos Essentials is a new, free online course that provides you the basics (and some advanced topics) of async programming and concurrency, C# 9.0 and .NET diagnostics. 3 online courses gathered in one place for you to enjoy! Sign up on our website for 1 month free access to Async Expert, .NET Diagnostics Expert and C# 9.0 Professional.
https://essentials.dotnetos.org/?utm_...

🔔 Subscribe:    / @codeopinion  

💥 Join this channel to get access to source code & demos!
   / @codeopinion  

🔥 Don't have the JOIN button? Support me on Patreon!
  / codeopinion  

📝 Blog: https://codeopinion.com
👋 Twitter:   / codeopinion  
✨ LinkedIn:   / dcomartin  

TypeScript Problem Details Parser
https://github.com/PDMLab/http-proble...

0:00 Intro
0:57 Problem Details (RFC7807)
3:10 Client
6:15 Type & Extensions

#httpapi #softwarearchitecture #softwaredesign


Auf dieser Seite können Sie das Online-Video Handling HTTP API Errors with Problem Details mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer CodeOpinion 29 September 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 17,399 Mal angesehen und es wurde von 439 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!