src/JetBrains.Space.Common/RefreshTokenRevokedException.cs (19 lines of code) (raw):
using System.Net;
using JetBrains.Annotations;
namespace JetBrains.Space.Common;
/// <summary>
/// Represents an exception thrown when a refresh token is revoked.
/// </summary>
[PublicAPI]
public class RefreshTokenRevokedException
: ResourceException
{
/// <inheritdoc />
public RefreshTokenRevokedException()
{
}
/// <inheritdoc />
public RefreshTokenRevokedException(string message)
: base(message)
{
}
/// <inheritdoc />
public RefreshTokenRevokedException(string message, Uri? requestUri, string? functionName, HttpStatusCode statusCode, string? response)
: base(message, requestUri, functionName, statusCode, response)
{
}
}