Skip to content

@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 ​

StateConvergenceFailure

Returns ​

StateConvergenceError

Overrides ​

Error.constructor

Properties ​

expected ​

ts
readonly expected: string | number | boolean;

observed? ​

ts
readonly observed?: string | number | boolean;

param ​

ts
readonly param: number;

property ​

ts
readonly property: string;

sn ​

ts
readonly sn: string;

timeoutMs ​

ts
readonly timeoutMs: number;

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.