MCPcopy Create free account
hub / github.com/apache/maka / isComputerUseErrorCode

Function isComputerUseErrorCode

packages/core/src/computer-use.ts:67–71  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

65export type ComputerUseErrorCode = (typeof COMPUTER_USE_ERROR_CODES)[number];
66
67export function isComputerUseErrorCode(value: unknown): value is ComputerUseErrorCode {
68 return (
69 typeof value === 'string' && (COMPUTER_USE_ERROR_CODES as readonly string[]).includes(value)
70 );
71}
72
73export interface CuPoint {
74 x: number;

Callers 2

bindingFailureFunction · 0.90
buildComputerUseToolsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected