MCPcopy
hub / github.com/langgenius/dify / isHttpClientError

Function isHttpClientError

cli/src/errors/base.ts:74–76  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

72}
73
74export function isHttpClientError(value: unknown): value is HttpClientError {
75 return value instanceof HttpClientError
76}
77
78export function unknownError(message: string, cause?: unknown): BaseError {
79 return new BaseError({ code: ErrorCode.Unknown, message, cause })

Callers 9

classifiedErrorFunction · 0.90
client.test.tsFile · 0.90
app-dsl.test.tsFile · 0.90
apps.test.tsFile · 0.90
account.test.tsFile · 0.90
workspaces.test.tsFile · 0.90
members.test.tsFile · 0.90

Calls

no outgoing calls

Tested by 1

classifiedErrorFunction · 0.72