Gets thrown when the timeout of the health check exceeds
class TimeoutError extends HealthCheckError {
constructor(message: string, causes: any)
causes: any
isHealthCheckError: true
}
Constructor
Initializes the error
|
constructor(timeout: number, cause: any)
Parameters
Option |
Type |
Description |
timeout
|
number |
The given timeout in ms
|
cause
|
any |
The cause of the health check error
|
|