// *********************************************************************** // // Heath // // *********************************************************************** namespace Lib.Common.LoggingAPI.Service.Extensions { /// /// The service HTTP exception. /// Extends the class. /// public class HttpException : Exception { /// /// Gets or sets the exception error code. /// public string? ErrorCode { get; set; } /// /// Gets or sets the exception status code. /// public int StatusCode { get; set; } /// /// Creates a new instance of . /// /// The exception status code. /// The exception error code. /// The exception message. public HttpException( int statusCode, string errorCode, string message) : base(message) { this.ErrorCode = errorCode; this.StatusCode = statusCode; } } }