openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
10 lines (9 loc) • 441 B
JavaScript
import { s as formatErrorMessage$1 } from "./error-coercion-hDrHOSGy.mjs";
import { u as redactToolPayloadText } from "./redact-Mj7pppxC.mjs";
//#region packages/memory-host-sdk/src/host/error-utils.ts
/** Format memory-host errors through the canonical formatter and redaction policy. */
function formatErrorMessage(e) {
return formatErrorMessage$1(e, { redact: redactToolPayloadText });
}
//#endregion
export { formatErrorMessage as t };