MCPcopy Create free account
hub / github.com/C3ting/ARL / PortScannerError

Class PortScannerError

app/utils/nmap.py:1044–1056  ·  view source on GitHub ↗

Exception error class for PortScanner class

Source from the content-addressed store, hash-verified

1042
1043
1044class PortScannerError(Exception):
1045 """
1046 Exception error class for PortScanner class
1047
1048 """
1049 def __init__(self, value):
1050 self.value = value
1051
1052 def __str__(self):
1053 return repr(self.value)
1054
1055 def __repr__(self):
1056 return 'PortScannerError exception {0}'.format(self.value)
1057
1058
1059############################################################################

Callers 2

__init__Method · 0.85
analyse_nmap_xml_scanMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected