Created
May 29, 2020 20:46
-
-
Save fieldju/86787396851cbbe2f70e100e3cf07c67 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { HttpException, HttpStatus } from '@nestjs/common'; | |
import HealthCheckResponse from '../domain/HealthCheckResponse'; | |
export class ArcUnhealthyException extends HttpException { | |
constructor(private readonly healthCheckResponse: HealthCheckResponse) { | |
super(healthCheckResponse, HttpStatus.SERVICE_UNAVAILABLE); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment