Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Catching Errors
#2
The ValueError and ZeroDivisionError are names associated with specific exceptions.
When an exception is thrown, the except clause looks at the name, and if it matches, executes the except clause.
Reply


Messages In This Thread
Catching Errors - by Alienspecimen - May-18-2019, 02:39 PM
RE: Catching Errors - by Larz60+ - May-18-2019, 11:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Catching a crash within a library code ebolisa 9 3,358 Nov-22-2021, 11:02 AM
Last Post: bowlofred
  Pexpect not catching embeded ssh response luchoArg32 0 2,382 Feb-08-2019, 08:45 AM
Last Post: luchoArg32
  catching / handle index out of range 3Pinter 3 2,800 Feb-04-2019, 01:19 PM
Last Post: buran
  Catching exceptions in embedded code no longer works on 3.7.2? FFMG 5 3,508 Feb-02-2019, 10:15 AM
Last Post: Larz60+
  win32com Events not catching dageci 0 3,848 Aug-06-2018, 03:18 PM
Last Post: dageci

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020