MCPcopy Index your code
hub / github.com/couchbase/couchbase-python-client / InvalidArgumentException

Class InvalidArgumentException

couchbase/exceptions.py:537–551  ·  view source on GitHub ↗

Raised when a provided argmument has an invalid value and/or invalid type.

Source from the content-addressed store, hash-verified

535
536
537class InvalidArgumentException(CouchbaseException):
538 """ Raised when a provided argmument has an invalid value
539 and/or invalid type.
540 """
541
542 def __init__(self, message=None, **kwargs):
543 if message and isinstance(message, str) and 'message' not in kwargs:
544 kwargs['message'] = message
545 super().__init__(**kwargs)
546
547 def __repr__(self):
548 return f"{type(self).__name__}({super().__repr__()})"
549
550 def __str__(self):
551 return self.__repr__()
552
553
554class AuthenticationException(CouchbaseException):

Callers 15

apply_profileMethod · 0.90
register_profileMethod · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
incrementFunction · 0.90
decrementFunction · 0.90
__init__Method · 0.90
casMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected