MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / error

Method error

lib/sqlalchemy/log.py:163–167  ·  view source on GitHub ↗

Delegate an error call to the underlying logger.

(self, msg: str, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

161 warn = warning
162
163 def error(self, msg: str, *args: Any, **kwargs: Any) -> None:
164 """
165 Delegate an error call to the underlying logger.
166 """
167 self.log(logging.ERROR, msg, *args, **kwargs)
168
169 def exception(self, msg: str, *args: Any, **kwargs: Any) -> None:
170 """Delegate an exception call to the underlying logger."""

Callers 5

test_pep8Function · 0.80
_safe_close_cursorMethod · 0.80
_close_connectionMethod · 0.80
_finalize_fairyFunction · 0.80
_run_with_retriesMethod · 0.80

Calls 1

logMethod · 0.95

Tested by 2

test_pep8Function · 0.64
_run_with_retriesMethod · 0.64