// ***********************************************************************
//
// Heath
//
// ***********************************************************************
namespace Core.Blueprint.Logging
{
///
/// 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)
{
ErrorCode = errorCode;
StatusCode = statusCode;
}
}
}