Throw an error with the given message and immediately quit. Args: message(str): The message to display.
(message: str)
| 197 | |
| 198 | |
| 199 | def error(message: str) -> NoReturn: |
| 200 | """ |
| 201 | Throw an error with the given message and immediately quit. |
| 202 | |
| 203 | Args: |
| 204 | message(str): The message to display. |
| 205 | """ |
| 206 | fail: str = "\033[91m" |
| 207 | end: str = "\033[0m" |
| 208 | sys.exit(fail + f"Error: {message}" + end) |
| 209 | |
| 210 | |
| 211 | def get_dropbox_folder_location() -> str: |
no outgoing calls
no test coverage detected