Skip to content

Commit 2dd9dc4

Browse files
committed
docs: improve global hcloud exception explanation
1 parent b4bbb31 commit 2dd9dc4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

hcloud/_exceptions.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44

55

66
class HCloudException(Exception):
7-
"""There was an error while using the hcloud library"""
7+
"""There was an error while using the hcloud library.
8+
9+
All exceptions in the hcloud library inherit from this exception. It may be used as
10+
catch-all exception.
11+
"""
812

913

1014
class APIException(HCloudException):
11-
"""There was an error while performing an API Request"""
15+
"""There was an error while performing an API Request."""
1216

1317
def __init__(
1418
self,

0 commit comments

Comments
 (0)