Skip to content

ProviderErrorCode ​

Import from: @xbbg/xnews, @xbbg/xnews/catalog

ProviderErrorCode = "config" | "network" | "http_status" | "timeout" | "aborted" | "unknown"

Defined in: src/types.ts (declaration: types.d.ts:10)

Machine-readable classification for transport failures. config marks a policy precondition that failed before any network I/O (missing SEC User-Agent, EMMA terms not accepted, no fetch implementation); unknown marks errors that did not originate in this library's transport.

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.