MCPcopy Create free account
hub / github.com/Forethought-Technologies/AutoChain / OutputParserException

Class OutputParserException

autochain/errors.py:1–10  ·  view source on GitHub ↗

Exception that output parsers should raise to signify a parsing error. This exists to differentiate parsing errors from other code or execution errors that also may arise inside the output parser. OutputParserExceptions will be available to catch and handle in ways to fix the parsing er

Source from the content-addressed store, hash-verified

1class OutputParserException(Exception):
2 """Exception that output parsers should raise to signify a parsing error.
3
4 This exists to differentiate parsing errors from other code or execution errors
5 that also may arise inside the output parser. OutputParserExceptions will be
6 available to catch and handle in ways to fix the parsing error, while other
7 errors will be raised.
8 """
9
10 pass
11
12
13class ToolRunningError(Exception):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected