Try Catch Error Handling With TypeScript

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • 👉 NEW React & Next.js Course: bytegrad.com/c...
    Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship).
    👉 Add authentication to your app FAST: bit.ly/3QOe1Bh
    👉 NEW React & Next.js Course: bytegrad.com/c...
    👉 Professional JavaScript Course: bytegrad.com/c...
    👉 Professional CSS Course: bytegrad.com/c...
    👉 Discord: all my courses have a private Discord where I actively participate
    🔔 Email newsletter (BIG update soon): email.bytegrad...
    ⏱️ Timestamps:
    0:00 Explanation
    #webdevelopment #coding #programming

ความคิดเห็น • 10

  • @UwU-dx5hu
    @UwU-dx5hu 8 หลายเดือนก่อน +1

    Please make a video for advanced users

  • @JasonLayton
    @JasonLayton ปีที่แล้ว +4

    A lot of work to make TS happy...

    • @gerkim3046
      @gerkim3046 หลายเดือนก่อน

      yeah and avoid runtime errors

  • @BlurryBit
    @BlurryBit 11 หลายเดือนก่อน

    Or may be dump the whole error thing into some json object and send it to the log, and continue with what you want to do finally. Have another micro service clean this error dump and send to whatever reporting you might need ..

  • @gerkim3046
    @gerkim3046 8 หลายเดือนก่อน

    where can i copy that code

  • @eligbuefelix7988
    @eligbuefelix7988 7 หลายเดือนก่อน +1

    Too complex solution

  • @youneshenni5417
    @youneshenni5417 ปีที่แล้ว +1

    Great video. Keep up the good work :)

  • @abdelfadeel0
    @abdelfadeel0 9 หลายเดือนก่อน +1

    Thanks for this great tutorial

  • @cantellyoudam
    @cantellyoudam 11 หลายเดือนก่อน

    Sounds cumbersome. No way thats the most elegant way of dealing with errors.

  • @rasmusl2067
    @rasmusl2067 ปีที่แล้ว

    Preferrably you would know which errors can occur. Eg. By doing features 'contract first' and grilling PO and UX about edge cases and how it could fail 🙂