I have custom inheriting exceptions in my Python project and I want to deprecate one of them. What is the proper way of doing it?
Exceptions I have:
class SDKException(Exception):
pass
class ChildException(SDKException):
pass
class ChildChildException(ChildException): # this one is to be deprecated
pass
I want to deprecate the ChildChildException, considering the exception is used, raised and chained with other exceptions in the project.