Exception error class for PortScanner class
| 1171 | |
| 1172 | |
| 1173 | class 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 | |
| 1189 | class PortScannerTimeout(PortScannerError): |
no outgoing calls
no test coverage detected