SDK Client Reference
Classes
AckError
BatchError
CancellationSharer
addAttempt
cancel
ChannelError
DebugMessage
Duration
add
subtract
total
totalOf
compare
from
FlowControlledPublisher
all
publish
publishNow
wouldExceed
HedgedRequest
HedgingScheduler
clear
nowDuration
scheduleFirstHedge
HedgingTokenBucket
getTokenBalance
refillTokenBucket
tryAcquireHedgeToken
resolveInitialRpcTimeout
resolveTotalTimeout
validateAndResolveHedgingOptions
IAM
Message
ack
ackWithResponse
nack
nackWithResponse
PubSub
createSchema
getClientConfig
getSchemaClient
getSnapshotsStream
getSubscriptionsStream
getSubscriptionsStream
getTopicsStream
listSchemas
schema
snapshot
subscription
topic
validateSchema
PublishError
Schema
create
delete
get
getName
validateMessage
metadataFromMessage
Snapshot
StatusError
Subscription
open
setOptions
snapshot
Topic
flowControlled
getPublishOptionDefaults
resumePublishing
setPublishOptions
subscription
Modules
@google-cloud/pubsub
Global
DEFAULT_INITIAL_RPC_TIMEOUT
DEFAULT_TOTAL_TIMEOUT
FINAL_NACK_TIMEOUT
HEDGE_TOKEN_SCALE
MAX_HEDGE_ATTEMPT_TIMEOUT
MAX_HEDGE_DELAY
MAX_MAX_TOKENS
MAX_REFILL_RATIO
MIN_HEDGE_DELAY
MIN_MAX_TOKENS
MIN_REFILL_RATIO
OpenTelemetryLevel[undefined]
SubscriberCloseBehaviors
ZERO_DURATION
awaitWithTimeout
ChannelError
ChannelError
Error thrown when we fail to open a channel for the message stream.
Constructor
new ChannelError
(err)
Parameters:
Name
Type
Description
err
Error
The original error.