mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-23 01:59:32 +08:00
18 lines
627 B
C#
18 lines
627 B
C#
using System.Application.Models;
|
|
|
|
namespace System.Application.Services.CloudService
|
|
{
|
|
internal sealed class ApiResponseCodeException : Exception
|
|
{
|
|
public ApiResponseCodeException(ApiResponseCode code) : base(ApiResponse.GetMessage(code))
|
|
=> Code = code;
|
|
|
|
public ApiResponseCodeException(ApiResponseCode code, string message) : base(message)
|
|
=> Code = code;
|
|
|
|
public ApiResponseCodeException(ApiResponseCode code, string message, Exception innerException) : base(message, innerException)
|
|
=> Code = code;
|
|
|
|
public ApiResponseCode Code { get; }
|
|
}
|
|
} |