Skip to content

Commit 047d4df

Browse files
committed
docs(codeforces.error): Add docstrings to codeforces/error.py
1 parent 055ac42 commit 047d4df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

codeforces/error.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
"""All exceptions used in codeforces."""
2+
13
__all__ = ['CodeforcesAPIError']
24

5+
36
class CodeforcesAPIError(Exception):
7+
"""Raised by api.call if method returns a error or is not found."""
8+
49
def __init__(self, comment, method, args):
510
self.comment = comment
611
self.method = method

0 commit comments

Comments
 (0)