876
880
raise UnicodeEncodeError(encoding, val, start, end, reason)
877
881
elif what == "ReadOnlyError":
878
882
raise errors.TransportNotPossible('readonly transport')
880
890
raise errors.SmartProtocolError('unexpected smart server error: %r' % (resp,))