Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to raise a error in python

# You can raise a error in python by using the raise keyword
raise Exception("A error occured!")
 
PREVIOUS NEXT
Tagged: #raise #error #python
ADD COMMENT
Topic
Name
5+9 =