Node SDK · Errors
The SDK exports three error classes:
HttpError— non-2xx from the ingestion endpoint. CheckstatusCode,body, andtransient(5xx + 429 are flagged for retry).BufferFullError— overflow whenoverflowPolicy: "error".DrainTimeoutError—close()exceededdrainTimeoutwith pending events.
Minter calls reject with a plain Error on client-side validation failures (invalid tenantId, malformed wildcard), MinterError on HTTP 400/401/404, or a transport error on network failure.