MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / on_error

Method on_error

couchbase/logic/views.py:369–376  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

367
368 @property
369 def on_error(self) -> ViewErrorMode:
370 value = self._params.get(
371 'on_error', None
372 )
373 if value is None:
374 return ViewErrorMode.STOP
375 if isinstance(value, str):
376 return ViewErrorMode.from_str(value)
377
378 @on_error.setter
379 def on_error(self, value # type: Union[ViewErrorMode, str]

Callers

nothing calls this directly

Calls 6

set_optionMethod · 0.95
ViewErrorModeClass · 0.85
getMethod · 0.45
from_strMethod · 0.45
to_strMethod · 0.45

Tested by

no test coverage detected