Skip to content

Commit

Permalink
refactor StatBox
Browse files Browse the repository at this point in the history
  • Loading branch information
nfearnley committed Dec 2, 2023
1 parent c52fb86 commit 2503cf2
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 100 deletions.
3 changes: 2 additions & 1 deletion sizebot/lib/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,11 @@ def formatMessage(self):
def formatUserMessage(self):
return f"Could not parse {self.s} into a {self.t}."


class UnfoundStatException(DigiException):
def __init__(self, s) -> None:
self.s = s

def formatMessage(self):
return f"Could not calculate the {self.s} stat."

Expand Down
Loading

0 comments on commit 2503cf2

Please sign in to comment.