Interface: PortCheckErrorResult
Defined in: electron/services/monitoring/utils/portErrorHandling.ts:57
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:63
The port number that was being checked, as a string.
error
error: string;
Defined in: electron/services/monitoring/utils/portErrorHandling.ts:72
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:81
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:87
Always the string literal "down" for error results.