@nestjs/terminus
Version:
Terminus integration provides readiness/liveness health checks for NestJS.
16 lines (15 loc) • 448 B
TypeScript
import { HealthCheckError } from '../health-check/health-check.error';
/**
* Gets thrown when the timeout of the health check exceeds
* @publicApi
*/
export declare class TimeoutError extends HealthCheckError {
/**
* Initializes the error
* @param {number} timeout The given timeout in ms
* @param {any} cause The cause of the health check error
*
* @internal
*/
constructor(timeout: number, cause: any);
}