88 matches across 1 files for error lang:Python lang:Python path:libs/core/langchain_core/callbacks/manager.py
snippet_mode: grep · sorted by relevance
libs/core/langchain_core/callbacks/manager.py PYTHON 88 matches · showing 5 view file →
125 except Exception as e:
126 if not group_cm.ended:
127 run_manager.on_chain_error(e)
128 raise
129 else:
· · ·
208 except Exception as e:
209 if not group_cm.ended:
210 await run_manager.on_chain_error(e)
211 raise
212 else:
· · ·
244 # `call-arg` used to not fail 3.9 or 3.10 tests
245 return await asyncio.shield(task)
246 except TypeError:
247 # Python < 3.11 fallback - create task normally then shield
248 # This won't preserve context perfectly but is better than nothing
· · ·
283 if asyncio.iscoroutine(event):
284 coros.append(event)
285 except NotImplementedError as e:
286 if event_name == "on_chat_model_start":
287 if message_strings is None:
· · ·
299 handler_name = handler.__class__.__name__
300 logger.warning(
301 "NotImplementedError in %s.%s callback: %s",
302 handler_name,
303 event_name,
+ 83 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.