Skip to content

Commit 8debe2c

Browse files
committed
Add custom exception for bad GitHub access tokens
1 parent 4da43cf commit 8debe2c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

oshminer/errors/exceptions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# SPDX-FileCopyrightText: 2022 Pen-Yuan Hsing
44
# SPDX-License-Identifier: AGPL-3.0-or-later
55

6+
class BadGitHubTokenError(Exception):
7+
pass
8+
69
class BadRepoError(Exception):
710
pass
811

0 commit comments

Comments
 (0)