blob: 5ccd613908f495bd4488020eed6197266136202a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
class UserNotPlayingError(Exception):
"""Raised when users try to use game commands when they are not playing."""
pass
class ExternalAPIError(Exception):
"""Raised when an external API(eg. Wikipedia) returns an error."""
def __init__(self, api: str):
super().__init__()
self.api = api
pass
|