Python Forum
is this a good way to catch exceptions?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
is this a good way to catch exceptions?
#4
The documentation should tell you what exceptions can be raised when you call a function. You don't have to guess.
Reply


Messages In This Thread
RE: is this a good way to catch exceptions? - by deanhystad - Jun-28-2021, 01:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Regex to catch what user has put in text box robertkwild 26 1,096 Jun-26-2024, 01:06 PM
Last Post: AdamHensley
  try catch not working? korenron 2 992 Jan-15-2023, 01:54 PM
Last Post: korenron
  PiCamera - print exceptions? korenron 2 949 Dec-15-2022, 10:48 PM
Last Post: Larz60+
  Multiprocessing queue catch get timeout Pythocodras 1 2,558 Apr-22-2022, 06:01 PM
Last Post: Pythocodras
  Class exceptions DPaul 1 1,415 Mar-11-2022, 09:01 AM
Last Post: Gribouillis
  twisted: catch return from sql wardancer84 0 1,598 Sep-08-2021, 12:38 PM
Last Post: wardancer84
  how to catch schema error? maiya 0 1,965 Jul-16-2021, 08:37 AM
Last Post: maiya
  pool mysql error - not catch by try\except? korenron 1 2,256 Jul-05-2021, 11:26 AM
Last Post: ibreeden
  Python, exceptions KingKhan248 6 3,232 Nov-15-2020, 06:54 AM
Last Post: buran
  try catch question ,get data from main code korenron 7 3,384 Nov-03-2020, 09:28 AM
Last Post: korenron

Forum Jump:

User Panel Messages

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