Exceptions and Errors in Dart - Learn About Exceptions, Errors, Try, Catch, Finally and Much More

Опубликовано: 07 Октябрь 2024
на канале: Vandad Nahavandipoor
5,371
184

This video is part of the Dart Crash Course playlist on YouTube. See the entire playlist here:    • Dart Crash Course  

Welcome to Dart Crash Course. Dart is a beautiful and modern programming language that can be used both for frontend and backend applications. In this course, we will focus on Dart as a programming language without blending in any other frameworks such as Flutter.

In this video we will have a look at exceptions and errors and how they differ in Dart. We will also learn about handling exceptions using try, catch and finally blocks.

Timestamps:
00:00 - Intro
02:04 - Throwing in Class Constructors
07:06 - Custom Exception Class
12:27 - Rethrow
16:04 - Finally
23:18 - Custom Throws Annotation
31:40 - Throwing Errors
35:33 - Capturing Stack Trace

Join the discord group if you have any questions:   / discord  

The GitHub repository for this course can be found here: https://github.com/vandadnp/youtube-c...

Join my YouTube channel to support me:    / vandadnp  

Also please follow me on Twitter and LinkedIn to stay up to date:
  / vandadnp  
  / vandadnp