Skip to main content

ProvisioningErrorReason

@horizon-republic/nestjs-jetstream


@horizon-republic/nestjs-jetstream / ProvisioningErrorReason

ProvisioningErrorReason

Defined in: src/server/infrastructure/provisioning-error.types.ts:2

Why the server refused to create or update a stream or consumer.

Enumeration Members​

NoSuitablePeers​

NoSuitablePeers: "no-suitable-peers"

Defined in: src/server/infrastructure/provisioning-error.types.ts:6

Fewer healthy peers than num_replicas, or none with storage headroom.


ServerRejected​

ServerRejected: "server-rejected"

Defined in: src/server/infrastructure/provisioning-error.types.ts:8

Any other rejection; errCode holds the NATS code.


StorageExceeded​

StorageExceeded: "storage-exceeded"

Defined in: src/server/infrastructure/provisioning-error.types.ts:4

The reservation exceeds the server's max_file_store or the account's max_storage.