MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / errorMessage

Function errorMessage

services/kiloclaw/controller/src/pairing-cache.ts:93–95  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

91const PAIRING_KEYWORDS = ['pairing', 'pair request', 'device request', 'approve', 'paired'];
92
93function errorMessage(err: unknown): string {
94 return err instanceof Error ? err.message : String(err);
95}
96
97function approveOk(message: string): ApproveResult {
98 return { success: true, message, statusHint: 200 };

Callers 4

approveChannelFunction · 0.70
approveDeviceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected