@mega-yfue/eufy-sdk / StateConvergenceError
Class: StateConvergenceError
Thrown when a write's declared observation never converges, so the SDK cannot say the write landed.
A command is acknowledged when the transport has carried it, which is delivery and not convergence, and the observation a member declares is what decides the second question. Where that observation times out the write was accepted by the wire and never applied by the device — measured on a battery camera whose power write is acknowledged and simply ignored — so this is a distinct outcome from a transport fault and carries the attribution that names which member on which device is unconfirmed.
Extends
Error
Constructors
Constructor
ts
new StateConvergenceError(failure): StateConvergenceError;Parameters
failure
Returns
StateConvergenceError
Overrides
ts
Error.constructorProperties
expected?
ts
readonly optional expected?: string | number | boolean;observed?
ts
readonly optional observed?: string | number | boolean;param
ts
readonly param: number;property
ts
readonly property: string;sn
ts
readonly sn: string;timeoutMs
ts
readonly timeoutMs: number;