using System;

namespace SepehrFlightApiSampleClient.ApiException
{
    public class WebApiException : Exception
    {
        public WebApiException(string errorMessage, string exceptionType, string traceId) : base(errorMessage)
        {
            ErrorMessage = errorMessage;
            ExceptionType = exceptionType;
            TraceId = traceId;
        }

        public string ErrorMessage { get; set; }

        public string ExceptionType { get; set; }

        public string TraceId { get; set; }
    }
}
