Skip to main content
Guest
My Media
My Playlists
My History
Login
Search
Add New
Media Upload
Guest
My Media
My Playlists
My History
Login
Cornell University
Cornell University
Close search in video box
Home
Channels
My Media
Help
Back
Top
All
Home
Channels
My Media
Help
Copy debug info
Play
Back to video
00:00
Play
Seek 10 seconds backwards
Seek 10 seconds forward
00:00 / 00:00
Mute
Picture in picture
Fullscreen
Lesson 25.4 The raise Statement
From
Hannah Lee
November 12, 2020
views
Related Media
Loading…
Details
Details
.
.
.
Details
.
.
.
Back
Up until now, the only way that we knew how to create an error is with an assert statement. But these always create errors with the type AssertionError. In this video we show how to create errors with different types.
Tags
error
statement
object
range
integer
errors
precondition
thing
statements
assertion
function
air
custom
expression
rays
bug
enforcement
foo
preconditions
division
Looking for more...