MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / PortScannerError

Class PortScannerError

pager_lib/nmap/nmap.py:1173–1186  ·  view source on GitHub ↗

Exception error class for PortScanner class

Source from the content-addressed store, hash-verified

1171
1172
1173class PortScannerError(Exception):
1174 """
1175 Exception error class for PortScanner class
1176
1177 """
1178
1179 def __init__(self, value):
1180 self.value = value
1181
1182 def __str__(self):
1183 return repr(self.value)
1184
1185 def __repr__(self):
1186 return f"PortScannerError exception {self.value}"
1187
1188
1189class PortScannerTimeout(PortScannerError):

Callers 2

__init__Method · 0.85
analyse_nmap_xml_scanMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected