您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
34 行
906 B
34 行
906 B
using System;
|
|
|
|
namespace Unity.Services.Lobbies.Http
|
|
{
|
|
[Serializable]
|
|
public class ResponseDeserializationException : Exception
|
|
{
|
|
public HttpClientResponse response;
|
|
|
|
public ResponseDeserializationException() : base()
|
|
{
|
|
}
|
|
|
|
public ResponseDeserializationException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
ResponseDeserializationException(string message, Exception inner) : base(message, inner)
|
|
{
|
|
}
|
|
|
|
public ResponseDeserializationException(HttpClientResponse httpClientResponse) : base(
|
|
"Unable to Deserialize Http Client Response")
|
|
{
|
|
response = httpClientResponse;
|
|
}
|
|
|
|
public ResponseDeserializationException(HttpClientResponse httpClientResponse, string message) : base(
|
|
message)
|
|
{
|
|
response = httpClientResponse;
|
|
}
|
|
}
|
|
}
|