Search
 
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
Name
4+1 =