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?
#14
That looks like the right idea, yes. The docs should show you the call to execute as well where you actually pass the values for those parameters.
Reply


Messages In This Thread
RE: is this a good way to catch exceptions? - by ndc85430 - Jul-05-2021, 05:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  try catch not working? korenron 2 941 Jan-15-2023, 01:54 PM
Last Post: korenron
  PiCamera - print exceptions? korenron 2 923 Dec-15-2022, 10:48 PM
Last Post: Larz60+
  Multiprocessing queue catch get timeout Pythocodras 1 2,487 Apr-22-2022, 06:01 PM
Last Post: Pythocodras
  Class exceptions DPaul 1 1,379 Mar-11-2022, 09:01 AM
Last Post: Gribouillis
  twisted: catch return from sql wardancer84 0 1,573 Sep-08-2021, 12:38 PM
Last Post: wardancer84
  how to catch schema error? maiya 0 1,930 Jul-16-2021, 08:37 AM
Last Post: maiya
  pool mysql error - not catch by try\except? korenron 1 2,211 Jul-05-2021, 11:26 AM
Last Post: ibreeden
  Python, exceptions KingKhan248 6 3,179 Nov-15-2020, 06:54 AM
Last Post: buran
  try catch question ,get data from main code korenron 7 3,290 Nov-03-2020, 09:28 AM
Last Post: korenron
  Split string between two different delimiters, with exceptions DreamingInsanity 2 2,131 Aug-24-2020, 08:23 AM
Last Post: DreamingInsanity

Forum Jump:

User Panel Messages

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