using System;
using System.Net;

namespace Arango.Client
{
    public class ArangoException : Exception
    {
        /// <summary>
        /// HTTP status code which caused the exception.
        /// </summary>
        public HttpStatusCode HttpStatusCode { get; set; }

        /// <summary>
        /// Exception message of the web request object.
        /// </summary>
        public string WebExceptionMessage { get; set; }

        public ArangoException()
        {
        }

        public ArangoException(HttpStatusCode httpStatusCode, string message, string webExceptionMessage) 
            : base(message)
        {
            HttpStatusCode = httpStatusCode;
            WebExceptionMessage = webExceptionMessage;
        }

        public ArangoException(HttpStatusCode httpStatusCode, string message, string webExceptionMessage, Exception inner)
            : base(message, inner)
        {
            HttpStatusCode = httpStatusCode;
            WebExceptionMessage = webExceptionMessage;
        }
    }
}


using System;
using System.Net;

namespace Arango.Client
{
    public class ArangoException : Exception
    {
        /// <summary>
        /// HTTP status code which caused the exception.
        /// </summary>
        public HttpStatusCode HttpStatusCode { get; set; }

        /// <summary>
        /// Exception message of the web request object.
        /// </summary>
        public string WebExceptionMessage { get; set; }

        public ArangoException()
        {
        }

        public ArangoException(string message) 
            : base(message)
        {
        }
        
        public ArangoException(HttpStatusCode httpStatusCode, string message, string webExceptionMessage) 
            : base(message)
        {
            HttpStatusCode = httpStatusCode;
            WebExceptionMessage = webExceptionMessage;
        }

        public ArangoException(HttpStatusCode httpStatusCode, string message, string webExceptionMessage, Exception inner)
            : base(message, inner)
        {
            HttpStatusCode = httpStatusCode;
            WebExceptionMessage = webExceptionMessage;
        }
    }
}


Create arango exception which consists only of message.
Create arango exception which consists only of message.
