exceptions#

Customexceptions for LangChain.

Classes

exceptions.ErrorCode(value)

Error codes.

exceptions.LangChainException

General LangChain exception.

exceptions.OutputParserException(error[, ...])

Exception that output parsers should raise to signify a parsing error.

exceptions.TracerException

Base class for exceptions in tracers module.

Functions

exceptions.create_message(*, message, error_code)

Create a message with a link to the LangChain troubleshooting guide.