Failed to decode or encode value
| 598 | |
| 599 | |
| 600 | class ValueFormatException(CouchbaseException): |
| 601 | """Failed to decode or encode value""" |
| 602 | |
| 603 | def __init__(self, message=None, **kwargs): |
| 604 | if message and isinstance(message, str) and 'message' not in kwargs: |
| 605 | kwargs['message'] = message |
| 606 | super().__init__(**kwargs) |
| 607 | |
| 608 | def __repr__(self): |
| 609 | return f"{type(self).__name__}({super().__repr__()})" |
| 610 | |
| 611 | def __str__(self): |
| 612 | return self.__repr__() |
| 613 | |
| 614 | |
| 615 | class HTTPException(CouchbaseException): |
no outgoing calls
no test coverage detected