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.constructorProperties
action
ts
readonly action: string;sn
ts
readonly sn: string;