namespace MairuiSdk.Exceptions
{
    public class MairuiHttpException : MairuiApiException
    {
        public int? StatusCode { get; }
        public object Payload { get; }

        public MairuiHttpException(string message, int? statusCode = null, object payload = null)
            : base(message)
        {
            StatusCode = statusCode;
            Payload = payload;
        }
    }
}
