@langchain/langgraph-sdk
Version:
Client library for interacting with the LangGraph API
16 lines • 354 B
TypeScript
//#region src/ui/errors.d.ts
declare class StreamError extends Error {
constructor(data: {
error?: string;
name?: string;
message: string;
});
static isStructuredError(error: unknown): error is {
error?: string;
name?: string;
message: string;
};
}
//#endregion
export { StreamError };
//# sourceMappingURL=errors.d.ts.map