Example #1
0
def error_output(jarvis, nm_scan: PortScanner) -> None:
    jarvis.say('Please, check your input is correct\n', Fore.RED)
    jarvis.say('This might hint what the problem is:\n', Fore.YELLOW)
    jarvis.say(str(nm_scan.scaninfo()['error']), Fore.YELLOW)