Creating Custom Exceptions Python Ide