From 36e867a01ee8d923b9bbb6ed290cfd63a65d2d41 Mon Sep 17 00:00:00 2001 From: Markus Thierolf <77847348+thierolm@users.noreply.github.com> Date: Sun, 10 Apr 2022 14:42:54 +0200 Subject: [PATCH] Tapo: add description for error 9999 (#3122) --- charger/tapo/connection.go | 1 + 1 file changed, 1 insertion(+) diff --git a/charger/tapo/connection.go b/charger/tapo/connection.go index 30a8dde11..ccdea6f62 100644 --- a/charger/tapo/connection.go +++ b/charger/tapo/connection.go @@ -267,6 +267,7 @@ func (d *Connection) DoSecureRequest(uri string, taporequest map[string]interfac func (d *Connection) CheckErrorCode(errorCode int) error { errorDesc := map[int]string{ 0: "Success", + 9999: "Login failed, invalid user or password", -1002: "Incorrect Request/Method", -1003: "JSON formatting error ", -1010: "Invalid Public Key Length",