Tapo: add description for error 9999 (#3122)

This commit is contained in:
Markus Thierolf 2022-04-10 14:42:54 +02:00 • committed by GitHub
parent a493ac1a88
commit 36e867a01e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",