Raised when a Unicode-related error occurs during encoding. It is a subclass of UnicodeError. New in version 2.3.