how to create custom exception via python

how to create custom exception via python