Skip to main content

DjangoUnicodeDecodeError

This class extends the standard UnicodeDecodeError to provide more descriptive error messages when decoding fails. It includes the representation and type of the object that caused the error in its string output to facilitate easier debugging.

Attributes

AttributeTypeDescription
objectbytesThe byte sequence that failed to decode, used to provide detailed type information in the error message.