From a8fde4aec792fca2c95ebc7030cf233a4fc71a8c Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 25 Nov 2023 03:53:36 +0000 Subject: [PATCH] Update documentation --- docs/error_handling.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/error_handling.html b/docs/error_handling.html index 76fd900..2b87e1b 100644 --- a/docs/error_handling.html +++ b/docs/error_handling.html @@ -58,7 +58,7 @@

Module pyControl4.error_handling

class InvalidCategory(C4Exception): - """Raised when an invalid category is provided when calling + """Raised when an invalid category is provided when calling `pyControl4.director.C4Director.getAllItemsByCategory`.""" @@ -68,10 +68,7 @@

Module pyControl4.error_handling

"Permission denied Bad credentials": BadCredentials, } -DIRECTOR_ERRORS = { - "Unauthorized": Unauthorized, - "Invalid category": InvalidCategory -} +DIRECTOR_ERRORS = {"Unauthorized": Unauthorized, "Invalid category": InvalidCategory} DIRECTOR_ERROR_DETAILS = {"Expired or invalid token": BadToken} @@ -298,7 +295,7 @@

Subclasses

Expand source code
class InvalidCategory(C4Exception):
-    """Raised when an invalid category is provided when calling 
+    """Raised when an invalid category is provided when calling
     `pyControl4.director.C4Director.getAllItemsByCategory`."""

Ancestors