IsUsedInError
misc.exceptions.IsUsedInError(
name: str,
object_type: str,
used_in_type: str,
used_in: list[str],
)Raised when an attempt is made to delete or modify an object that is in use / referenced by another object.
Raised when an attempt is made to delete or modify an object that is in use / referenced by another object.