Interface: PortCheckErrorResult
Defined in: electron/services/monitoring/utils/portErrorHandling.ts:54
Result structure for a failed port check operation.
Remarks
Used to communicate port check failures to the frontend in a standardized, type-safe format.
Example
{
"details": "443",
"error": "Port not reachable",
"responseTime": 1200,
"status": "down"
}
See
Properties
details
details:
string
Defined in: electron/services/monitoring/utils/portErrorHandling.ts:60
The port number that was being checked, as a string.
error
error:
string
Defined in: electron/services/monitoring/utils/portErrorHandling.ts:69
Standardized error message for frontend consumption.
Remarks
Typically PORT_NOT_REACHABLE or a system error message.
responseTime
responseTime:
number
Defined in: electron/services/monitoring/utils/portErrorHandling.ts:78
Response time in milliseconds, or -1 if measurement failed.
Remarks
Used for diagnostics and retry/backoff strategies.
status
status:
"down"
Defined in: electron/services/monitoring/utils/portErrorHandling.ts:84
Always the string literal "down" for error results.