pages235/lib/guessProblem.js
2023-08-16 00:52:48 +03:00

5 lines
190 B
JavaScript

export const guessProblem = (/** @type {string} */errorMessage) => {
if (errorMessage.endsWith('Socket error: ECONNREFUSED')) {
return 'Most probably the server is not running.'
}
}