mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
24 lines
773 B
C#
24 lines
773 B
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using SpotifyAPI.Web.Http;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
[Serializable]
|
|
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) { }
|
|
|
|
#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) { }
|
|
}
|
|
}
|