UNPKG

@nestjs/terminus

Version:

Terminus integration provides readiness/liveness health checks for NestJS.

22 lines (21 loc) 687 B
import { HealthCheckError } from '../health-check/health-check.error'; /** * Error which gets thrown when the given storage threshold * has exceeded. * @publicApi * * @deprecated * This class has been deprecated and will be removed in the next major release. * Instead utilise the `HealthIndicatorService` to indicate the health of your health indicator. */ export declare class StorageExceededError extends HealthCheckError { /** * Initializes the error * * @param {string} keyword The keyword (heap, rss, disk e.g.) * @param {any} cause The cause of the health check error * * @internal */ constructor(keyword: string, cause: any); }