MCPcopy Index your code
hub / github.com/simstudioai/sim / isMultipartError

Function isMultipartError

apps/sim/lib/core/utils/multipart.ts:41–43  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

39}
40
41export function isMultipartError(error: unknown): error is MultipartError {
42 return error instanceof MultipartError
43}
44
45export interface MultipartFilePart {
46 /** The multipart field name that carried the file (expected: `file`). */

Callers 3

expectCodeFunction · 0.90
route.tsFile · 0.90
route.tsFile · 0.90

Calls

no outgoing calls

Tested by 1

expectCodeFunction · 0.72