MCPcopy Create free account
hub / github.com/longld/peda / error_msg

Function error_msg

lib/utils.py:210–212  ·  view source on GitHub ↗

Colorize error message with prefix

(text)

Source from the content-addressed store, hash-verified

208 msg(colorize("Warning: " + str(text), "yellow"))
209
210def error_msg(text):
211 """Colorize error message with prefix"""
212 msg(colorize("Error: " + str(text), "red"))
213
214def debug_msg(text, prefix="Debug"):
215 """Colorize debug message with prefix"""

Callers 10

searchMethod · 0.90
displayMethod · 0.90
zscMethod · 0.90
_get_allmaps_osxMethod · 0.85
_get_allmaps_freebsdMethod · 0.85
_missing_argumentMethod · 0.85
nearpcMethod · 0.85
loadmemMethod · 0.85
cmpmemMethod · 0.85
assembleMethod · 0.85

Calls 1

colorizeFunction · 0.85

Tested by

no test coverage detected