src/BeatPulse/Core/LivenessResult.cs
/// <summary>
/// Set Livenes execution as unhealty.
/// </summary>
/// <param name="exception">The exception thrown by liveness.</param>
/// <returns><see cref="LivenessResult"/>.</returns>
Set Livenes execution as unhealty.
Set Livenes execution as unhealty .
public static LivenessResult UnHealthy(Exception exception)
        {
            return new LivenessResult()
            {
                IsHealthy = false,
                Exception = exception.Message
            };
        }
public static LivenessResult UnHealthy ( Exception exception ) { return new LivenessResult ( ) { IsHealthy = false , Exception = exception . Message } ; }
Set Livenes execution as unhealty.
Set Livenes execution as unhealty .
None
exception
Exception
The exception thrown by liveness.
The exception thrown by liveness .