DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
throw error in python
#Best practive: raise statement
raise
ValueError
(
'A very specific bad thing happened'
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#throw
#error
#python
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit