MCPcopy Create free account
hub / github.com/langgenius/dify / error-mapper.test.ts

File error-mapper.test.ts

cli/src/http/error-mapper.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { HttpClientError } from '@/errors/base'
2import { describe, expect, it } from 'vitest'
3import { ErrorCode } from '@/errors/codes'
4import { classifyResponse } from './error-mapper'

Callers

nothing calls this directly

Calls 4

classifyResponseFunction · 0.90
classifiedFunction · 0.85
itFunction · 0.50
exitMethod · 0.45

Tested by

no test coverage detected