Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python How to raise an Exception

def raise_an_error(error):
    raise error

raise_an_error(ValueError)
Source by globallearning.ucertify.com #
 
PREVIOUS NEXT
Tagged: #Python #How #raise #Exception
ADD COMMENT
Topic
Name
4+2 =