LangChainException constructor
const
LangChainException({
- String? message,
- String? code,
- StackTrace? stackTrace,
A base class for all exceptions thrown by LangChain.
Implementation
const LangChainException({this.message, final String? code, this.stackTrace})
: code = code ?? 'exception';