Exception error class for PortScanner class
| 1042 | |
| 1043 | |
| 1044 | class 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 | ############################################################################ |
no outgoing calls
no test coverage detected