PartialStreamSubmissionError
Error raised when a streamed commit submission fails after an ambiguous or partial append.
The completedOperations field contains operations the SDK knows completed.
Before retrying manually, inspect repository state because the failed append
may have committed additional operations that were not reflected locally.
https://docs.warmhub.ai/sdk/transient-retry/#partial-submissions
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PartialStreamSubmissionError(
input):PartialStreamSubmissionError
Parameters
Section titled “Parameters”unknown
completedOperations
Section titled “completedOperations”object[]
Returns
Section titled “Returns”PartialStreamSubmissionError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”
readonlycode:"PARTIAL_STREAM_SUBMISSION"='PARTIAL_STREAM_SUBMISSION'
Stable error code. Always 'PARTIAL_STREAM_SUBMISSION'.
completedOperations
Section titled “completedOperations”
readonlycompletedOperations:object[]
Operations the SDK confirmed completed before the ambiguous or failing append. The remaining operations may or may not have landed; inspect repository state before retrying manually.
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
readonlycause:unknown
Underlying error that triggered the partial submission, preserved for
diagnostics. Inspect via isWarmHubError(err.cause) / err.cause.kind.
Overrides
Section titled “Overrides”Error.cause
Hit a problem or have a question? Get in touch.