MCPcopy Create free account
hub / github.com/ShipSecAI/studio / isComponentError

Function isComponentError

packages/component-sdk/src/errors.ts:476–478  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

474 * Check if an error is a ComponentError
475 */
476export function isComponentError(error: unknown): error is ComponentError {
477 return error instanceof ComponentError;
478}
479
480/**
481 * Check if an error is retryable

Callers 5

errors.test.tsFile · 0.90
isRetryableErrorFunction · 0.85
getRetryDelayMsFunction · 0.85
getErrorTypeFunction · 0.85
wrapErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected