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
Sourcepub const SOURCE_INVALID_STREAM_NAME: ErrorCode = _
pub const SOURCE_INVALID_STREAM_NAME: ErrorCode = _
Sourced stream name is invalid
Sourcepub const MIRROR_INVALID_STREAM_NAME: ErrorCode = _
pub const MIRROR_INVALID_STREAM_NAME: ErrorCode = _
Mirrored stream name is invalid
Sourcepub const SOURCE_MULTIPLE_FILTERS_NOT_ALLOWED: ErrorCode = _
pub const SOURCE_MULTIPLE_FILTERS_NOT_ALLOWED: ErrorCode = _
Source with multiple subject transforms cannot also have a single subject filter
Sourcepub const SOURCE_INVALID_SUBJECT_FILTER: ErrorCode = _
pub const SOURCE_INVALID_SUBJECT_FILTER: ErrorCode = _
Source subject filter is invalid
Sourcepub const SOURCE_INVALID_TRANSFORM_DESTINATION: ErrorCode = _
pub const SOURCE_INVALID_TRANSFORM_DESTINATION: ErrorCode = _
Source transform destination is invalid
Sourcepub const SOURCE_OVERLAPPING_SUBJECT_FILTERS: ErrorCode = _
pub const SOURCE_OVERLAPPING_SUBJECT_FILTERS: ErrorCode = _
Source filters cannot overlap
Sourcepub const CONSUMER_ALREADY_EXISTS: ErrorCode = _
pub const CONSUMER_ALREADY_EXISTS: ErrorCode = _
Consumer already exists
Sourcepub const CONSUMER_DOES_NOT_EXIST: ErrorCode = _
pub const CONSUMER_DOES_NOT_EXIST: ErrorCode = _
Consumer does not exist
Sourcepub const MIRROR_MULTIPLE_FILTERS_NOT_ALLOWED: ErrorCode = _
pub const MIRROR_MULTIPLE_FILTERS_NOT_ALLOWED: ErrorCode = _
Mirror with multiple subject transforms cannot also have a single subject filter
Sourcepub const MIRROR_INVALID_SUBJECT_FILTER: ErrorCode = _
pub const MIRROR_INVALID_SUBJECT_FILTER: ErrorCode = _
Mirror subject filter is invalid
Sourcepub const MIRROR_OVERLAPPING_SUBJECT_FILTERS: ErrorCode = _
pub const MIRROR_OVERLAPPING_SUBJECT_FILTERS: ErrorCode = _
Mirror subject filters cannot overlap
Sourcepub const CONSUMER_INACTIVE_THRESHOLD_EXCESS: ErrorCode = _
pub const CONSUMER_INACTIVE_THRESHOLD_EXCESS: ErrorCode = _
Consumer inactive threshold exceeds system limit