using System;
using System.Net;

namespace ecoDMS.Library
{
    public class EcoDmsHttpException : Exception
    {
        public HttpStatusCode StatusCode { get; set; }
        public EcoDmsHttpException(string? message, HttpStatusCode statuscode) : base(message)
        {
            this.StatusCode = statuscode;
        }
    }

    public class EcoDmsAPIConnectsException : Exception
    {
        public EcoDmsAPIConnectsException(string message) : base(message)
        {

        }
    }
}
