many-repos/many_repos/errors.py

19 lines
361 B
Python
Raw Normal View History

2024-05-25 23:43:15 +02:00
class ConfigNotFound(Exception):
2024-05-27 08:55:13 +02:00
"""Raised when non-existing config was tried to be used"""
pass
class InvalidConfig(Exception):
"""Raised when config is invalid"""
pass
class InvalidSource(Exception):
"""Raised when invalid source is used"""
2024-05-25 23:43:15 +02:00
pass
2024-05-28 15:35:47 +02:00
class HTTPError(Exception):
"""Raised when API rejects our request"""
pass