Skip to content

@flarelog/sdk


@flarelog/sdk / PermanentExportError

Class: PermanentExportError ​

Defined in: otel/transport.ts:48

Thrown by a transport when a failure cannot be fixed by sending the same batch again — a rejected API key, an exhausted quota, a batch the server refuses on size. Batch processors drop such a batch (and report it through onDrop) instead of putting it back in the queue, where it would be retried on every flush for as long as the process lives.

Extends ​

  • Error

Constructors ​

Constructor ​

new PermanentExportError(message, status?): PermanentExportError

Defined in: otel/transport.ts:51

Parameters ​

message ​

string

status? ​

number

Returns ​

PermanentExportError

Overrides ​

Error.constructor

Properties ​

permanent ​

readonly permanent: true = true

Defined in: otel/transport.ts:49


status? ​

readonly optional status?: number

Defined in: otel/transport.ts:51

Released under the MIT License.