Mercurial > p > roundup > code
comparison roundup/exceptions.py @ 7172:e16b7d47fdb2
chore: flake8 formatting fixes
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 26 Feb 2023 10:34:07 -0500 |
| parents | c177e7128dc9 |
| children | 273c8c2b5042 |
comparison
equal
deleted
inserted
replaced
| 7171:4e3abaa16296 | 7172:e16b7d47fdb2 |
|---|---|
| 5 | 5 |
| 6 | 6 |
| 7 class RoundupException(Exception): | 7 class RoundupException(Exception): |
| 8 pass | 8 pass |
| 9 | 9 |
| 10 | |
| 10 class LoginError(RoundupException): | 11 class LoginError(RoundupException): |
| 11 pass | 12 pass |
| 12 | 13 |
| 13 | 14 |
| 14 class Unauthorised(RoundupException): | 15 class Unauthorised(RoundupException): |
| 15 pass | 16 pass |
| 16 | 17 |
| 18 | |
| 17 class RejectBase(RoundupException): | 19 class RejectBase(RoundupException): |
| 18 pass | 20 pass |
| 21 | |
| 19 | 22 |
| 20 class Reject(RejectBase): | 23 class Reject(RejectBase): |
| 21 """An auditor may raise this exception when the current create or set | 24 """An auditor may raise this exception when the current create or set |
| 22 operation should be stopped. | 25 operation should be stopped. |
| 23 | 26 |
