MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / isReplyTargetNotFoundError

Function isReplyTargetNotFoundError

web/src/lib/api/client.ts:411–413  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

409
410/** A chat reply refused because the quoted message does not exist (422 `reply_target_not_found`). */
411export function isReplyTargetNotFoundError(err: unknown): err is PadApiError {
412 return err instanceof PadApiError && err.code === 'reply_target_not_found';
413}
414
415/**
416 * A move refused for a destination value only the user can supply: a required

Callers 2

#postOnceMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected