Raise exception in Python

raise Exception("Error")

Related:

References: