class ProtectedError
from django.db.models.deletion import ProtectedError
Ancestors (MRO)
- builtins.object
- builtins.BaseException
- builtins.Exception
- django.db.utils.Error
- django.db.utils.DatabaseError
- django.db.utils.IntegrityError
- django.db.models.deletion.ProtectedError
Attribute | Type | Defined in |
---|---|---|
args |
getset_descriptor
|
builtins.BaseException |
def with_traceback(self)
builtins.BaseException
Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.