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.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SinkHttpError( kind, status, body): SinkHttpError;Defined in: src/sinks/shared.ts:29
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
kind |
string |
status |
number |
body |
string |
Returns
Section titled “Returns”SinkHttpError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”| Property | Modifier | Type | Defined in |
|---|---|---|---|
body |
readonly |
string |
src/sinks/shared.ts:28 |
status |
readonly |
number |
src/sinks/shared.ts:27 |