MCPcopy
hub / github.com/spaceandtimefdn/SxT-Python-SDK / raise_error

Method raise_error

src/spaceandtime/sxtresource.py:533–536  ·  view source on GitHub ↗

If the last database command failed, raise an exception.

(self)

Source from the content-addressed store, hash-verified

531
532
533 def raise_error(self):
534 """If the last database command failed, raise an exception."""
535 if self.__lasterr__ == None: return None
536 raise self.__lasterr__
537
538
539 def load(self, filepath:Path, *args, **kwargs):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected