MCPcopy
hub / github.com/langbot-app/LangBot / error

Method error

src/langbot/pkg/platform/logger.py:221–234  ·  view source on GitHub ↗
(
        self,
        text: str,
        images: typing.Optional[list[platform_message.Image]] = None,
        message_session_id: typing.Optional[str] = None,
        no_throw: bool = True,
    )

Source from the content-addressed store, hash-verified

219 )
220
221 async def error(
222 self,
223 text: str,
224 images: typing.Optional[list[platform_message.Image]] = None,
225 message_session_id: typing.Optional[str] = None,
226 no_throw: bool = True,
227 ):
228 await self._add_log(
229 level=EventLogLevel.ERROR,
230 text=text,
231 images=images,
232 message_session_id=message_session_id,
233 no_throw=no_throw,
234 )

Callers 15

_make_rag_error_responseFunction · 0.45
reply_messageMethod · 0.45
get_bot_uuidMethod · 0.45
set_query_varMethod · 0.45
get_query_varMethod · 0.45
get_query_varsMethod · 0.45
send_messageMethod · 0.45
invoke_llmMethod · 0.45
set_binary_storageMethod · 0.45
get_binary_storageMethod · 0.45

Calls 1

_add_logMethod · 0.95

Tested by

no test coverage detected