Struct async_nats::jetstream::ErrorCode
source · pub struct ErrorCode(/* private fields */);
Implementations§
source§impl ErrorCode
impl ErrorCode
sourcepub const CLUSTER_PEER_NOT_MEMBER: ErrorCode = _
pub const CLUSTER_PEER_NOT_MEMBER: ErrorCode = _
Peer not a member
sourcepub const CONSUMER_EPHEMERAL_WITH_DURABLE: ErrorCode = _
pub const CONSUMER_EPHEMERAL_WITH_DURABLE: ErrorCode = _
Consumer expected to be ephemeral but detected a durable name set in subject
sourcepub const STREAM_EXTERNAL_DELETE_PREFIX_OVERLAPS: ErrorCode = _
pub const STREAM_EXTERNAL_DELETE_PREFIX_OVERLAPS: ErrorCode = _
Stream external delivery prefix overlaps with stream subject
sourcepub const ACCOUNT_RESOURCES_EXCEEDED: ErrorCode = _
pub const ACCOUNT_RESOURCES_EXCEEDED: ErrorCode = _
Resource limits exceeded for account
sourcepub const CLUSTER_NOT_AVAILABLE: ErrorCode = _
pub const CLUSTER_NOT_AVAILABLE: ErrorCode = _
Jetstream system temporarily unavailable
sourcepub const STREAM_SUBJECT_OVERLAP: ErrorCode = _
pub const STREAM_SUBJECT_OVERLAP: ErrorCode = _
Subjects overlap with an existing stream
sourcepub const STREAM_WRONG_LAST_SEQUENCE: ErrorCode = _
pub const STREAM_WRONG_LAST_SEQUENCE: ErrorCode = _
Wrong last sequence
sourcepub const NAME_NOT_MATCH_SUBJECT: ErrorCode = _
pub const NAME_NOT_MATCH_SUBJECT: ErrorCode = _
Template name in subject does not match request
sourcepub const CLUSTER_NO_PEERS: ErrorCode = _
pub const CLUSTER_NO_PEERS: ErrorCode = _
No suitable peers for placement
sourcepub const CONSUMER_EPHEMERAL_WITH_DURABLE_NAME: ErrorCode = _
pub const CONSUMER_EPHEMERAL_WITH_DURABLE_NAME: ErrorCode = _
Consumer expected to be ephemeral but a durable name was set in request
sourcepub const INSUFFICIENT_RESOURCES: ErrorCode = _
pub const INSUFFICIENT_RESOURCES: ErrorCode = _
Insufficient resources
sourcepub const MIRROR_MAX_MESSAGE_SIZE_TOO_BIG: ErrorCode = _
pub const MIRROR_MAX_MESSAGE_SIZE_TOO_BIG: ErrorCode = _
Stream mirror must have max message size >= source
sourcepub const STREAM_DELETE_FAILED: ErrorCode = _
pub const STREAM_DELETE_FAILED: ErrorCode = _
Generic error from stream deletion operation
sourcepub const BAD_REQUEST: ErrorCode = _
pub const BAD_REQUEST: ErrorCode = _
Bad request
sourcepub const NOT_SUPPORTED_IN_CLUSTER_MODE: ErrorCode = _
pub const NOT_SUPPORTED_IN_CLUSTER_MODE: ErrorCode = _
Not currently supported in clustered mode
sourcepub const CONSUMER_NOT_FOUND: ErrorCode = _
pub const CONSUMER_NOT_FOUND: ErrorCode = _
Consumer not found
sourcepub const SOURCE_MAX_MESSAGE_SIZE_TOO_BIG: ErrorCode = _
pub const SOURCE_MAX_MESSAGE_SIZE_TOO_BIG: ErrorCode = _
Stream source must have max message size >= target
sourcepub const STREAM_ASSIGNMENT: ErrorCode = _
pub const STREAM_ASSIGNMENT: ErrorCode = _
Generic error when stream operation fails.
sourcepub const STREAM_MESSAGE_EXCEEDS_MAXIMUM: ErrorCode = _
pub const STREAM_MESSAGE_EXCEEDS_MAXIMUM: ErrorCode = _
Message size exceeds maximum allowed
sourcepub const STREAM_CREATE_TEMPLATE: ErrorCode = _
pub const STREAM_CREATE_TEMPLATE: ErrorCode = _
Generic error for stream creation error with a string
sourcepub const INVALID_JSON: ErrorCode = _
pub const INVALID_JSON: ErrorCode = _
Invalid JSON
sourcepub const STREAM_INVALID_EXTERNAL_DELIVERY_SUBJECT: ErrorCode = _
pub const STREAM_INVALID_EXTERNAL_DELIVERY_SUBJECT: ErrorCode = _
Stream external delivery prefix must not contain wildcards
sourcepub const STREAM_RESTORE: ErrorCode = _
pub const STREAM_RESTORE: ErrorCode = _
Restore failed
sourcepub const CLUSTER_INCOMPLETE: ErrorCode = _
pub const CLUSTER_INCOMPLETE: ErrorCode = _
Incomplete results
sourcepub const NO_ACCOUNT: ErrorCode = _
pub const NO_ACCOUNT: ErrorCode = _
Account not found
sourcepub const RAFT_GENERAL: ErrorCode = _
pub const RAFT_GENERAL: ErrorCode = _
General RAFT error
sourcepub const RESTORE_SUBSCRIBE_FAILED: ErrorCode = _
pub const RESTORE_SUBSCRIBE_FAILED: ErrorCode = _
Jetstream unable to subscribe to restore snapshot
sourcepub const STREAM_DELETE: ErrorCode = _
pub const STREAM_DELETE: ErrorCode = _
Stream deletion failed
sourcepub const STREAM_EXTERNAL_API_OVERLAP: ErrorCode = _
pub const STREAM_EXTERNAL_API_OVERLAP: ErrorCode = _
Stream external api prefix must not overlap
sourcepub const MIRROR_WITH_SUBJECTS: ErrorCode = _
pub const MIRROR_WITH_SUBJECTS: ErrorCode = _
Stream mirrors can not contain subjects
sourcepub const JETSTREAM_NOT_ENABLED: ErrorCode = _
pub const JETSTREAM_NOT_ENABLED: ErrorCode = _
Jetstream not enabled
sourcepub const JETSTREAM_NOT_ENABLED_FOR_ACCOUNT: ErrorCode = _
pub const JETSTREAM_NOT_ENABLED_FOR_ACCOUNT: ErrorCode = _
Jetstream not enabled for account
sourcepub const SEQUENCE_NOT_FOUND: ErrorCode = _
pub const SEQUENCE_NOT_FOUND: ErrorCode = _
Sequence not found
sourcepub const STREAM_MIRROR_NOT_UPDATABLE: ErrorCode = _
pub const STREAM_MIRROR_NOT_UPDATABLE: ErrorCode = _
Stream mirror configuration can not be updated
sourcepub const STREAM_SEQUENCE_NOT_MATCH: ErrorCode = _
pub const STREAM_SEQUENCE_NOT_MATCH: ErrorCode = _
Expected stream sequence does not match
sourcepub const STREAM_WRONG_LAST_MESSAGE_ID: ErrorCode = _
pub const STREAM_WRONG_LAST_MESSAGE_ID: ErrorCode = _
Wrong last msg id
sourcepub const TEMP_STORAGE_FAILED: ErrorCode = _
pub const TEMP_STORAGE_FAILED: ErrorCode = _
Jetstream unable to open temp storage for restore
sourcepub const STORAGE_RESOURCES_EXCEEDED: ErrorCode = _
pub const STORAGE_RESOURCES_EXCEEDED: ErrorCode = _
Insufficient storage resources available
sourcepub const STREAM_MISMATCH: ErrorCode = _
pub const STREAM_MISMATCH: ErrorCode = _
Stream name in subject does not match request
sourcepub const STREAM_NOT_MATCH: ErrorCode = _
pub const STREAM_NOT_MATCH: ErrorCode = _
Expected stream does not match
sourcepub const MIRROR_CONSUMER_SETUP_FAILED: ErrorCode = _
pub const MIRROR_CONSUMER_SETUP_FAILED: ErrorCode = _
Setting up consumer mirror failed
sourcepub const NOT_EMPTY_REQUEST: ErrorCode = _
pub const NOT_EMPTY_REQUEST: ErrorCode = _
Expected an empty request payload
sourcepub const STREAM_NAME_EXIST: ErrorCode = _
pub const STREAM_NAME_EXIST: ErrorCode = _
Stream name already in use with a different configuration
sourcepub const CLUSTER_TAGS: ErrorCode = _
pub const CLUSTER_TAGS: ErrorCode = _
Tags placement not supported for operation
sourcepub const MAXIMUM_CONSUMERS_LIMIT: ErrorCode = _
pub const MAXIMUM_CONSUMERS_LIMIT: ErrorCode = _
Maximum consumers limit reached
sourcepub const SOURCE_CONSUMER_SETUP_FAILED: ErrorCode = _
pub const SOURCE_CONSUMER_SETUP_FAILED: ErrorCode = _
General source consumer setup failure
sourcepub const CONSUMER_CREATE: ErrorCode = _
pub const CONSUMER_CREATE: ErrorCode = _
Consumer creation failed
sourcepub const CONSUMER_DURABLE_NAME_NOT_IN_SUBJECT: ErrorCode = _
pub const CONSUMER_DURABLE_NAME_NOT_IN_SUBJECT: ErrorCode = _
Consumer expected to be durable but no durable name set in subject
sourcepub const STREAM_LIMITS: ErrorCode = _
pub const STREAM_LIMITS: ErrorCode = _
Stream limits error
sourcepub const STREAM_REPLICAS_NOT_UPDATABLE: ErrorCode = _
pub const STREAM_REPLICAS_NOT_UPDATABLE: ErrorCode = _
Replicas configuration can not be updated
sourcepub const STREAM_TEMPLATE_NOT_FOUND: ErrorCode = _
pub const STREAM_TEMPLATE_NOT_FOUND: ErrorCode = _
Template not found
sourcepub const CLUSTER_NOT_ASSIGNED: ErrorCode = _
pub const CLUSTER_NOT_ASSIGNED: ErrorCode = _
Jetstream cluster not assigned to this server
sourcepub const CLUSTER_NOT_LEADER: ErrorCode = _
pub const CLUSTER_NOT_LEADER: ErrorCode = _
Jetstream cluster can’t handle request
sourcepub const CONSUMER_NAME_EXIST: ErrorCode = _
pub const CONSUMER_NAME_EXIST: ErrorCode = _
Consumer name already in use
sourcepub const MIRROR_WITH_SOURCES: ErrorCode = _
pub const MIRROR_WITH_SOURCES: ErrorCode = _
Stream mirrors can’t also contain other sources
sourcepub const STREAM_NOT_FOUND: ErrorCode = _
pub const STREAM_NOT_FOUND: ErrorCode = _
Stream not found
sourcepub const CLUSTER_REQUIRED: ErrorCode = _
pub const CLUSTER_REQUIRED: ErrorCode = _
Jetstream clustering support required
sourcepub const CONSUMER_DURABLE_NAME_NOT_SET: ErrorCode = _
pub const CONSUMER_DURABLE_NAME_NOT_SET: ErrorCode = _
Consumer expected to be durable but a durable name was not set
sourcepub const MAXIMUM_STREAMS_LIMIT: ErrorCode = _
pub const MAXIMUM_STREAMS_LIMIT: ErrorCode = _
Maximum number of streams reached
sourcepub const MIRROR_WITH_START_SEQUENCE_AND_TIME: ErrorCode = _
pub const MIRROR_WITH_START_SEQUENCE_AND_TIME: ErrorCode = _
Stream mirrors can not have both start seq and start time configured
sourcepub const STREAM_SNAPSHOT: ErrorCode = _
pub const STREAM_SNAPSHOT: ErrorCode = _
Stream snapshot failed
sourcepub const STREAM_UPDATE: ErrorCode = _
pub const STREAM_UPDATE: ErrorCode = _
Stream update failed
sourcepub const CLUSTER_NOT_ACTIVE: ErrorCode = _
pub const CLUSTER_NOT_ACTIVE: ErrorCode = _
Jetstream not in clustered mode
sourcepub const CONSUMER_DURABLE_NAME_NOT_MATCH_SUBJECT: ErrorCode = _
pub const CONSUMER_DURABLE_NAME_NOT_MATCH_SUBJECT: ErrorCode = _
Consumer name in subject does not match durable name in request
sourcepub const MEMORY_RESOURCES_EXCEEDED: ErrorCode = _
pub const MEMORY_RESOURCES_EXCEEDED: ErrorCode = _
Insufficient memory resources available
sourcepub const MIRROR_WITH_SUBJECT_FILTERS: ErrorCode = _
pub const MIRROR_WITH_SUBJECT_FILTERS: ErrorCode = _
Stream mirrors can not contain filtered subjects
sourcepub const STREAM_CREATE: ErrorCode = _
pub const STREAM_CREATE: ErrorCode = _
Stream create failed with a string
sourcepub const CLUSTER_SERVER_NOT_MEMBER: ErrorCode = _
pub const CLUSTER_SERVER_NOT_MEMBER: ErrorCode = _
Server is not a member of the cluster
sourcepub const NO_MESSAGE_FOUND: ErrorCode = _
pub const NO_MESSAGE_FOUND: ErrorCode = _
No message found
sourcepub const SNAPSHOT_DELIVER_SUBJECT_INVALID: ErrorCode = _
pub const SNAPSHOT_DELIVER_SUBJECT_INVALID: ErrorCode = _
Deliver subject not valid
sourcepub const STREAM_GENERALOR: ErrorCode = _
pub const STREAM_GENERALOR: ErrorCode = _
General stream failure
sourcepub const STREAM_INVALID_CONFIG: ErrorCode = _
pub const STREAM_INVALID_CONFIG: ErrorCode = _
Invalid stream config
sourcepub const STREAM_REPLICAS_NOT_SUPPORTED: ErrorCode = _
pub const STREAM_REPLICAS_NOT_SUPPORTED: ErrorCode = _
Replicas > 1 not supported in non-clustered mode
sourcepub const STREAM_MESSAGE_DELETE_FAILED: ErrorCode = _
pub const STREAM_MESSAGE_DELETE_FAILED: ErrorCode = _
Stream message delete failed
sourcepub const PEER_REMAP: ErrorCode = _
pub const PEER_REMAP: ErrorCode = _
Peer remap failed
sourcepub const STREAM_STORE_FAILED: ErrorCode = _
pub const STREAM_STORE_FAILED: ErrorCode = _
Stream store failed
sourcepub const CONSUMER_CONFIG_REQUIRED: ErrorCode = _
pub const CONSUMER_CONFIG_REQUIRED: ErrorCode = _
Consumer config required
sourcepub const CONSUMER_DELIVER_TO_WILDCARDS: ErrorCode = _
pub const CONSUMER_DELIVER_TO_WILDCARDS: ErrorCode = _
Consumer deliver subject has wildcards
sourcepub const CONSUMER_PUSH_MAX_WAITING: ErrorCode = _
pub const CONSUMER_PUSH_MAX_WAITING: ErrorCode = _
Consumer in push mode can not set max waiting
sourcepub const CONSUMER_DELIVER_CYCLE: ErrorCode = _
pub const CONSUMER_DELIVER_CYCLE: ErrorCode = _
Consumer deliver subject forms a cycle
sourcepub const CONSUMER_MAX_PENDING_ACK_POLICY_REQUIRED: ErrorCode = _
pub const CONSUMER_MAX_PENDING_ACK_POLICY_REQUIRED: ErrorCode = _
Consumer requires ack policy for max ack pending
sourcepub const CONSUMER_SMALL_HEARTBEAT: ErrorCode = _
pub const CONSUMER_SMALL_HEARTBEAT: ErrorCode = _
Consumer idle heartbeat needs to be >= 100ms
sourcepub const CONSUMER_PULL_REQUIRES_ACK: ErrorCode = _
pub const CONSUMER_PULL_REQUIRES_ACK: ErrorCode = _
Consumer in pull mode requires ack policy
sourcepub const CONSUMER_PULL_NOT_DURABLE: ErrorCode = _
pub const CONSUMER_PULL_NOT_DURABLE: ErrorCode = _
Consumer in pull mode requires a durable name
sourcepub const CONSUMER_PULL_WITH_RATE_LIMIT: ErrorCode = _
pub const CONSUMER_PULL_WITH_RATE_LIMIT: ErrorCode = _
Consumer in pull mode can not have rate limit set
sourcepub const CONSUMER_MAX_WAITING_NEGATIVE: ErrorCode = _
pub const CONSUMER_MAX_WAITING_NEGATIVE: ErrorCode = _
Consumer max waiting needs to be positive
sourcepub const CONSUMER_HEARTBEAT_REQUIRES_PUSH: ErrorCode = _
pub const CONSUMER_HEARTBEAT_REQUIRES_PUSH: ErrorCode = _
Consumer idle heartbeat requires a push based consumer
sourcepub const CONSUMER_FLOW_CONTROL_REQUIRES_PUSH: ErrorCode = _
pub const CONSUMER_FLOW_CONTROL_REQUIRES_PUSH: ErrorCode = _
Consumer flow control requires a push based consumer
sourcepub const CONSUMER_DIRECT_REQUIRES_PUSH: ErrorCode = _
pub const CONSUMER_DIRECT_REQUIRES_PUSH: ErrorCode = _
Consumer direct requires a push based consumer
sourcepub const CONSUMER_DIRECT_REQUIRES_EPHEMERAL: ErrorCode = _
pub const CONSUMER_DIRECT_REQUIRES_EPHEMERAL: ErrorCode = _
Consumer direct requires an ephemeral consumer
sourcepub const CONSUMER_ON_MAPPED: ErrorCode = _
pub const CONSUMER_ON_MAPPED: ErrorCode = _
Consumer direct on a mapped consumer
sourcepub const CONSUMER_FILTER_NOT_SUBSET: ErrorCode = _
pub const CONSUMER_FILTER_NOT_SUBSET: ErrorCode = _
Consumer filter subject is not a valid subset of the interest subjects
sourcepub const CONSUMER_INVALID_POLICY: ErrorCode = _
pub const CONSUMER_INVALID_POLICY: ErrorCode = _
Invalid consumer policy
sourcepub const CONSUMER_INVALID_SAMPLING: ErrorCode = _
pub const CONSUMER_INVALID_SAMPLING: ErrorCode = _
Failed to parse consumer sampling configuration
sourcepub const STREAM_INVALID: ErrorCode = _
pub const STREAM_INVALID: ErrorCode = _
Stream not valid
sourcepub const CONSUMER_WQ_REQUIRES_EXPLICIT_ACK: ErrorCode = _
pub const CONSUMER_WQ_REQUIRES_EXPLICIT_ACK: ErrorCode = _
Workqueue stream requires explicit ack
sourcepub const CONSUMER_WQ_MULTIPLE_UNFILTERED: ErrorCode = _
pub const CONSUMER_WQ_MULTIPLE_UNFILTERED: ErrorCode = _
Multiple non-filtered consumers not allowed on workqueue stream
sourcepub const CONSUMER_WQ_CONSUMER_NOT_UNIQUE: ErrorCode = _
pub const CONSUMER_WQ_CONSUMER_NOT_UNIQUE: ErrorCode = _
Filtered consumer not unique on workqueue stream
sourcepub const CONSUMER_WQ_CONSUMER_NOT_DELIVER_ALL: ErrorCode = _
pub const CONSUMER_WQ_CONSUMER_NOT_DELIVER_ALL: ErrorCode = _
Consumer must be deliver all on workqueue stream
sourcepub const CONSUMER_NAME_TOO_LONG: ErrorCode = _
pub const CONSUMER_NAME_TOO_LONG: ErrorCode = _
Consumer name is too long
sourcepub const CONSUMER_BAD_DURABLE_NAME: ErrorCode = _
pub const CONSUMER_BAD_DURABLE_NAME: ErrorCode = _
Durable name can not contain token separators and wildcards
sourcepub const CONSUMER_STORE_FAILED: ErrorCode = _
pub const CONSUMER_STORE_FAILED: ErrorCode = _
Error creating store for consumer
sourcepub const CONSUMER_EXISTING_ACTIVE: ErrorCode = _
pub const CONSUMER_EXISTING_ACTIVE: ErrorCode = _
Consumer already exists and is still active
sourcepub const CONSUMER_REPLACEMENT_WITH_DIFFERENT_NAME: ErrorCode = _
pub const CONSUMER_REPLACEMENT_WITH_DIFFERENT_NAME: ErrorCode = _
Consumer replacement durable config not the same
sourcepub const CONSUMER_DESCRIPTION_TOO_LONG: ErrorCode = _
pub const CONSUMER_DESCRIPTION_TOO_LONG: ErrorCode = _
Consumer description is too long
sourcepub const STREAM_HEADER_EXCEEDS_MAXIMUM: ErrorCode = _
pub const STREAM_HEADER_EXCEEDS_MAXIMUM: ErrorCode = _
Header size exceeds maximum allowed of 64k
sourcepub const CONSUMER_WITH_FLOW_CONTROL_NEEDS_HEARTBEATS: ErrorCode = _
pub const CONSUMER_WITH_FLOW_CONTROL_NEEDS_HEARTBEATS: ErrorCode = _
Consumer with flow control also needs heartbeats
sourcepub const STREAM_SEALED: ErrorCode = _
pub const STREAM_SEALED: ErrorCode = _
Invalid operation on sealed stream
sourcepub const STREAM_PURGE_FAILED: ErrorCode = _
pub const STREAM_PURGE_FAILED: ErrorCode = _
Stream purge failed
sourcepub const STREAM_ROLLUP_FAILED: ErrorCode = _
pub const STREAM_ROLLUP_FAILED: ErrorCode = _
Stream rollup failed
sourcepub const CONSUMER_INVALID_DELIVER_SUBJECT: ErrorCode = _
pub const CONSUMER_INVALID_DELIVER_SUBJECT: ErrorCode = _
Invalid push consumer deliver subject
sourcepub const STREAM_MAX_BYTES_REQUIRED: ErrorCode = _
pub const STREAM_MAX_BYTES_REQUIRED: ErrorCode = _
Account requires a stream config to have max bytes set
sourcepub const CONSUMER_MAX_REQUEST_BATCH_NEGATIVE: ErrorCode = _
pub const CONSUMER_MAX_REQUEST_BATCH_NEGATIVE: ErrorCode = _
Consumer max request batch needs to be > 0
sourcepub const CONSUMER_MAX_REQUEST_EXPIRES_TO_SMALL: ErrorCode = _
pub const CONSUMER_MAX_REQUEST_EXPIRES_TO_SMALL: ErrorCode = _
Consumer max request expires needs to be >= 1ms
sourcepub const CONSUMER_MAX_DELIVER_BACKOFF: ErrorCode = _
pub const CONSUMER_MAX_DELIVER_BACKOFF: ErrorCode = _
Max deliver is required to be > length of backoff values
sourcepub const STREAM_INFO_MAX_SUBJECTS: ErrorCode = _
pub const STREAM_INFO_MAX_SUBJECTS: ErrorCode = _
Subject details would exceed maximum allowed
sourcepub const STREAM_OFFLINE: ErrorCode = _
pub const STREAM_OFFLINE: ErrorCode = _
Stream is offline
sourcepub const CONSUMER_OFFLINE: ErrorCode = _
pub const CONSUMER_OFFLINE: ErrorCode = _
Consumer is offline
sourcepub const CONSUMER_MAX_PENDING_ACK_EXCESS: ErrorCode = _
pub const CONSUMER_MAX_PENDING_ACK_EXCESS: ErrorCode = _
Consumer max ack pending exceeds system limit
sourcepub const STREAM_MAX_STREAM_BYTES_EXCEEDED: ErrorCode = _
pub const STREAM_MAX_STREAM_BYTES_EXCEEDED: ErrorCode = _
Stream max bytes exceeds account limit max stream bytes
sourcepub const STREAM_MOVE_AND_SCALE: ErrorCode = _
pub const STREAM_MOVE_AND_SCALE: ErrorCode = _
Can not move and scale a stream in a single update
sourcepub const STREAM_MOVE_IN_PROGRESS: ErrorCode = _
pub const STREAM_MOVE_IN_PROGRESS: ErrorCode = _
Stream move already in progress
sourcepub const CONSUMER_MAX_REQUEST_BATCH_EXCEEDED: ErrorCode = _
pub const CONSUMER_MAX_REQUEST_BATCH_EXCEEDED: ErrorCode = _
Consumer max request batch exceeds server limit
sourcepub const CONSUMER_REPLICAS_EXCEEDS_STREAM: ErrorCode = _
pub const CONSUMER_REPLICAS_EXCEEDS_STREAM: ErrorCode = _
Consumer config replica count exceeds parent stream
sourcepub const CONSUMER_NAME_CONTAINS_PATH_SEPARATORS: ErrorCode = _
pub const CONSUMER_NAME_CONTAINS_PATH_SEPARATORS: ErrorCode = _
Consumer name can not contain path separators
sourcepub const STREAM_NAME_CONTAINS_PATH_SEPARATORS: ErrorCode = _
pub const STREAM_NAME_CONTAINS_PATH_SEPARATORS: ErrorCode = _
Stream name can not contain path separators
sourcepub const STREAM_MOVE_NOT_IN_PROGRESS: ErrorCode = _
pub const STREAM_MOVE_NOT_IN_PROGRESS: ErrorCode = _
Stream move not in progress
sourcepub const STREAM_NAME_EXIST_RESTORE_FAILED: ErrorCode = _
pub const STREAM_NAME_EXIST_RESTORE_FAILED: ErrorCode = _
Stream name already in use, cannot restore
sourcepub const CONSUMER_CREATE_FILTER_SUBJECT_MISMATCH: ErrorCode = _
pub const CONSUMER_CREATE_FILTER_SUBJECT_MISMATCH: ErrorCode = _
Consumer create request did not match filtered subject from create subject
sourcepub const CONSUMER_CREATE_DURABLE_AND_NAME_MISMATCH: ErrorCode = _
pub const CONSUMER_CREATE_DURABLE_AND_NAME_MISMATCH: ErrorCode = _
Consumer durable and name have to be equal if both are provided
sourcepub const REPLICAS_COUNT_CANNOT_BE_NEGATIVE: ErrorCode = _
pub const REPLICAS_COUNT_CANNOT_BE_NEGATIVE: ErrorCode = _
Replicas count cannot be negative
sourcepub const CONSUMER_REPLICAS_SHOULD_MATCH_STREAM: ErrorCode = _
pub const CONSUMER_REPLICAS_SHOULD_MATCH_STREAM: ErrorCode = _
Consumer config replicas must match interest retention stream’s replicas
sourcepub const CONSUMER_METADATA_LENGTH: ErrorCode = _
pub const CONSUMER_METADATA_LENGTH: ErrorCode = _
Consumer metadata exceeds maximum size
sourcepub const CONSUMER_DUPLICATE_FILTER_SUBJECTS: ErrorCode = _
pub const CONSUMER_DUPLICATE_FILTER_SUBJECTS: ErrorCode = _
Consumer cannot have both filter_subject and filter_subjects specified
sourcepub const CONSUMER_MULTIPLE_FILTERS_NOT_ALLOWED: ErrorCode = _
pub const CONSUMER_MULTIPLE_FILTERS_NOT_ALLOWED: ErrorCode = _
Consumer with multiple subject filters cannot use subject based api
sourcepub const CONSUMER_OVERLAPPING_SUBJECT_FILTERS: ErrorCode = _
pub const CONSUMER_OVERLAPPING_SUBJECT_FILTERS: ErrorCode = _
Consumer subject filters cannot overlap
sourcepub const CONSUMER_EMPTY_FILTER: ErrorCode = _
pub const CONSUMER_EMPTY_FILTER: ErrorCode = _
Consumer filter in filter_subjects cannot be empty
sourcepub const SOURCE_DUPLICATE_DETECTED: ErrorCode = _
pub const SOURCE_DUPLICATE_DETECTED: ErrorCode = _
Duplicate source configuration detected