MCPcopy Index your code
hub / github.com/BasicProtein/AugmentCode-Free / print_error

Function print_error

augment_tools_core/common_utils.py:52–56  ·  view source on GitHub ↗

Prints an error message (red if colorama is available).

(message: str)

Source from the content-addressed store, hash-verified

50 print_message(prefix, message, color)
51
52def print_error(message: str) -> None:
53 """Prints an error message (red if colorama is available)."""
54 prefix = "[ERROR]"
55 color = Fore.RED if IS_COLORAMA_AVAILABLE else ""
56 print_message(prefix, message, color)
57
58# --- IDE Path Functions ---
59def get_ide_paths(ide_type: IDEType) -> Optional[Dict[str, Path]]:

Callers 15

clean_ide_filesMethod · 0.85
_clean_global_storageMethod · 0.85
safe_delete_fileMethod · 0.85
_windows_force_deleteMethod · 0.85
_unix_force_deleteMethod · 0.85
_create_backupMethod · 0.85
apply_patchMethod · 0.85
clean_ide_databaseFunction · 0.85

Calls 1

print_messageFunction · 0.85

Tested by

no test coverage detected