How to Define Custom Exceptions in Python? (With Examples)

How to Define Custom Exceptions in Python? (With Examples)