Intro to Computer Science Module 09 - Exception Handling for Run Time Errors

preview_player
Показать описание

In this module we will look at types of errors that developers run into. We've already looked at Syntax Errors and Logic Errors. Today's module will be about Run Time Errors, which we've seen before, but haven't looked at how to fix.

Today we'll look at how to fix them by a Try/Except blocks of code to capture these potential errors, and learn how to provide good and meaningful error messages to our end user.

Table of Contents:

00:00 - Introduction
00:25 - Syntax Error
01:40 - Logic Error
02:27 - Run Time Error
02:50 - Example of a Run Time Error
04:53 - Exception Handling
05:11 - Solving the Problem with the Try Method
08:23 - Handling Multiple Error Types
09:00 - Catching All Exceptions, Regardless of Error T
ype
09:54 - Common Errors to Expect
10:10 - Type Error
11:41 - Data Conversion Error
13:19 - The Else Suite
14:34 - The Finally Block
16:20 - Things to Keep in Mind
Рекомендации по теме