MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / stringValue

Function stringValue

apps/cloud/src/observability/error-logging.ts:23–26  ·  view source on GitHub ↗
(value: unknown, key: string)

Source from the content-addressed store, hash-verified

21};
22
23const stringValue = (value: unknown, key: string): string | undefined => {
24 const field = objectValue(value, key);
25 return typeof field === "string" ? field : undefined;
26};
27
28const firstFailureOrDefect = (cause: Cause.Cause<unknown>): unknown => {
29 const failure = Cause.findErrorOption(cause);

Callers 1

errorTagFunction · 0.85

Calls 1

objectValueFunction · 0.85

Tested by

no test coverage detected