Try Catch Error Handling With TypeScript

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 11

  • @JasonLayton
    @JasonLayton Год назад +5

    A lot of work to make TS happy...

    • @gerkim62
      @gerkim62 3 месяца назад

      yeah and avoid runtime 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 🙂

  • @abdelfadeel0
    @abdelfadeel0 11 месяцев назад +1

    Thanks for this great tutorial

  • @youneshenni5417
    @youneshenni5417 Год назад +1

    Great video. Keep up the good work :)

  • @UwU-dx5hu
    @UwU-dx5hu 10 месяцев назад +1

    Please make a video for advanced users

  • @BlurryBit
    @BlurryBit Год назад

    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 ..

  • @cantellyoudam
    @cantellyoudam Год назад

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

  • @gerkim62
    @gerkim62 10 месяцев назад

    where can i copy that code

  • @eligbuefelix7988
    @eligbuefelix7988 9 месяцев назад +1

    Too complex solution