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:
"add"|"revise"|"retract"|"noop"
dataHash
Section titled “dataHash”dataHash:
string
version
Section titled “version”version:
number
status?
Section titled “status?”
optionalstatus?:"noop"|"applied"|"error"
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; }
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”undeclaredFields:
string[]
warnings.undeclaredFieldsTruncated?
Section titled “warnings.undeclaredFieldsTruncated?”
optionalundeclaredFieldsTruncated?:true
warnings.totalUndeclared?
Section titled “warnings.totalUndeclared?”
optionaltotalUndeclared?:number
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
Hit a problem or have a question? Get in touch.