// --------------------------------------------------------------------------------------------------------------------
//
// Copyright (c) VRMADA, All rights reserved.
//
// --------------------------------------------------------------------------------------------------------------------
namespace UltimateXR.Exceptions
{
///
/// Unity Web Request HTTP exception.
///
public sealed class HttpUwrException : UwrException
{
#region Public Types & Data
///
/// Gets the HTTP response code.
///
public long ResponseCode { get; }
#endregion
#region Constructors & Finalizer
///
/// Constructor.
///
/// Error message
/// HTTP response code
public HttpUwrException(string error, long responseCode) : base(error)
{
ResponseCode = responseCode;
}
#endregion
}
}