class ProtectedError

from django.db.models.deletion import ProtectedError


  

Ancestors (MRO)

  1. builtins.object
  2. builtins.BaseException
  3. builtins.Exception
  4. django.db.utils.Error
  5. django.db.utils.DatabaseError
  6. django.db.utils.IntegrityError
  7. django.db.models.deletion.ProtectedError
AttributeTypeDefined in
def with_traceback(self)
builtins.BaseException
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.