import { Exception, ExceptionKind, PipelineException } from '../../exceptions'; import type { CheckResult } from '../helpers'; @Exception({ description: 'Service is unavailable' }) export class HealthCheckException extends PipelineException { constructor(details: Record) { super(ExceptionKind.UNAVAILABLE, 'Health check failed!', { details }); } }