@langchain/langgraph-sdk
Version:
Client library for interacting with the LangGraph API
14 lines (13 loc) • 414 B
TypeScript
import { ErrorResponse } from "@langchain/protocol";
//#region src/client/stream/error.d.ts
/**
* Error wrapper for protocol-level error responses returned by the server.
*/
declare class ProtocolError extends Error {
readonly code: ErrorResponse["error"];
readonly response: ErrorResponse;
constructor(response: ErrorResponse);
}
//#endregion
export { ProtocolError };
//# sourceMappingURL=error.d.ts.map