Skip to content

SinkHttpError

Defined in: src/sinks/shared.ts:26

Thrown by an HTTP-based sink when the destination answered non-2xx (or a 2xx with an error payload, e.g. Splunk’s code != 0). The stream runner records message as the cursor’s lastError and backs off.

  • Error
new SinkHttpError(
kind,
status,
body
): SinkHttpError;

Defined in: src/sinks/shared.ts:29

Parameter Type
kind string
status number
body string

SinkHttpError

Error.constructor

Property Modifier Type Defined in
body readonly string src/sinks/shared.ts:28
status readonly number src/sinks/shared.ts:27