using System; namespace Unity.Services.Relay.Http { [Serializable] public class DeserializationException : Exception { public HttpClientResponse response; public DeserializationException() : base() { } public DeserializationException(string message) : base(message) { } DeserializationException(string message, Exception inner) : base(message, inner) { } public DeserializationException(HttpClientResponse httpClientResponse) : base( "Unable to Deserialize Http Client Response") { response = httpClientResponse; } public DeserializationException(HttpClientResponse httpClientResponse, string message) : base( message) { response = httpClientResponse; } } }