Skip to content

eufy-mega / model/capabilities / CapabilityNotSupportedError

Class: CapabilityNotSupportedError

Thrown when a control is requested on a device that doesn't support it — instead of silently sending a command into the void (the eufy P2P write path is fire-and-forget, so an unsupported command otherwise looks like success). Raised by setProperty / action paths when no capability module produces a command for the (device, action).

Extends

  • Error

Constructors

Constructor

ts
new CapabilityNotSupportedError(sn, action): CapabilityNotSupportedError;

Parameters

sn

string

action

string

Returns

CapabilityNotSupportedError

Overrides

ts
Error.constructor

Properties

action

ts
readonly action: string;

sn

ts
readonly sn: string;

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