Throw
raise ValueError('some error message')
Catch
try: code_that_may_raise_exception() except ValueError as err: print(err.args)
finally