Spotify.NET/SpotifyAPI.Web/Exceptions/APIUnauthorizedException.cs

24 lines
773 B
C#
Raw Normal View History

using System;
2022-11-27 12:29:35 +00:00
using System.Runtime.Serialization;
2020-05-01 19:05:28 +01:00
using SpotifyAPI.Web.Http;
namespace SpotifyAPI.Web
{
[Serializable]
2020-05-01 19:05:28 +01:00
public class APIUnauthorizedException : APIException
{
public APIUnauthorizedException(IResponse response) : base(response) { }
public APIUnauthorizedException() { }
public APIUnauthorizedException(string message) : base(message) { }
public APIUnauthorizedException(string message, Exception innerException) : base(message, innerException) { }
2024-02-10 10:56:20 +00:00
#if NET8_0_OR_GREATER
[Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
#endif
protected APIUnauthorizedException(SerializationInfo info, StreamingContext context) : base(info, context) { }
2020-05-01 19:05:28 +01:00
}
}