mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
17 lines
502 B
Python
17 lines
502 B
Python
class ConfigNotReadableException(Exception):
|
|
def __init__(self):
|
|
self.message = "Config file can't be read. Check config.yml permissions"
|
|
super().__init__(self.message)
|
|
|
|
def __repr__(self) -> str:
|
|
return self.message
|
|
|
|
|
|
class ConfigNotWritableException(Exception):
|
|
def __init__(self):
|
|
self.message = "Config file is not writable. Check config.yml permissions"
|
|
super().__init__(self.message)
|
|
|
|
def __repr__(self) -> str:
|
|
return self.message
|