Base class for exceptions in this module.
| 9 | # |
| 10 | |
| 11 | class Error(Exception): |
| 12 | """Base class for exceptions in this module.""" |
| 13 | def __init__(self, message): |
| 14 | self.message = message |
| 15 | |
| 16 | def __str__(self): |
| 17 | return self.message |
| 18 | |
| 19 | |
| 20 | class KeeperApiError(Error): |