AllStreamOperationsFailedError
Error raised when the stream append path completed deterministically but every submitted operation failed.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AllStreamOperationsFailedError(
result):AllStreamOperationsFailedError
Parameters
Section titled “Parameters”result
Section titled “result”Returns
Section titled “Returns”AllStreamOperationsFailedError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”
readonlycode:"STREAM_ALL_OPERATIONS_FAILED"='STREAM_ALL_OPERATIONS_FAILED'
result
Section titled “result”
readonlyresult:OperationSubmitResult
operations
Section titled “operations”
readonlyoperations:object[]
opIndex?
Section titled “opIndex?”
optionalopIndex?:number
name:
string
operation
Section titled “operation”operation:
unknown
dataHash
Section titled “dataHash”dataHash:
string
version
Section titled “version”version:
number
status?
Section titled “status?”
optionalstatus?:"error"|"noop"|"applied"
error?
Section titled “error?”
optionalerror?:object
error.code
Section titled “error.code”code:
string
error.message
Section titled “error.message”message:
string
error.details?
Section titled “error.details?”
optionaldetails?: {reason:"expected_version_mismatch";expectedVersion:number;currentVersion:number; } | {reason:"lease_held";leaseExpiresAt:string; } | {reason:"validation_failed";issues:object[]; } | {reason:"rate_limit_reset";retryAfterSeconds:number;resetAt:string; } | {reason:"cursor_fence_unavailable";cause:"below_floor"|"above_head"|"not_ready";retryFromStart:true; }
submittedName?
Section titled “submittedName?”
optionalsubmittedName?:string
resolvedName?
Section titled “resolvedName?”
optionalresolvedName?:string
retryable?
Section titled “retryable?”
optionalretryable?:boolean
warnings?
Section titled “warnings?”
optionalwarnings?:object
Non-blocking warnings collected during shape validation — see GH-1418.
Aliased to the generated wire shape so this type cannot drift from
the backend’s streamMutationResultEntrySchema.warnings.
warnings.undeclaredFields?
Section titled “warnings.undeclaredFields?”
optionalundeclaredFields?:string[]
warnings.undeclaredFieldsTruncated?
Section titled “warnings.undeclaredFieldsTruncated?”
optionalundeclaredFieldsTruncated?:true
warnings.totalUndeclared?
Section titled “warnings.totalUndeclared?”
optionaltotalUndeclared?:number
warnings.coalescedWrefs?
Section titled “warnings.coalescedWrefs?”
optionalcoalescedWrefs?:object[]
warnings.coalescedWrefsTruncated?
Section titled “warnings.coalescedWrefsTruncated?”
optionalcoalescedWrefsTruncated?:true
warnings.totalCoalescedWrefs?
Section titled “warnings.totalCoalescedWrefs?”
optionaltotalCoalescedWrefs?:number
warnings.deprecations?
Section titled “warnings.deprecations?”
optionaldeprecations?:object[]
statusCounts
Section titled “statusCounts”
readonlystatusCounts:object
applied
Section titled “applied”applied:
number
noop:
number
error:
number
cause?
Section titled “cause?”
readonlyoptionalcause?:{ code: string; message: string; }
Overrides
Section titled “Overrides”Error.cause