MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / InvalidStringData

Class InvalidStringData

bson/errors.py:29–30  ·  view source on GitHub ↗

Raised when trying to encode a string containing non-UTF8 data.

Source from the content-addressed store, hash-verified

27
28
29class InvalidStringData(BSONError):
30 """Raised when trying to encode a string containing non-UTF8 data."""
31
32
33class InvalidDocument(BSONError):

Callers 2

_make_c_string_checkFunction · 0.90
_make_c_stringFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected