aboutsummaryrefslogtreecommitdiff
path: root/src/Jellyfin.LiveTv/Listings/SchedulesDirectDtos/SdErrorCode.cs
blob: ec6c6c475b2d723cc9fbe8b6256daf37dfb5a1e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#pragma warning disable CA1008 // Enums should have zero value

namespace Jellyfin.LiveTv.Listings.SchedulesDirectDtos;

/// <summary>
/// Schedules Direct API error codes.
/// </summary>
public enum SdErrorCode
{
    /// <summary>
    /// Invalid user.
    /// </summary>
    InvalidUser = 4001,

    /// <summary>
    /// Invalid password hash.
    /// </summary>
    InvalidHash = 4003,

    /// <summary>
    /// Account locked or disabled.
    /// </summary>
    AccountLocked = 4004,

    /// <summary>
    /// Account expired.
    /// </summary>
    AccountExpired = 4005,

    /// <summary>
    /// Token has expired.
    /// </summary>
    TokenExpired = 4006,

    /// <summary>
    /// Password is required.
    /// </summary>
    PasswordRequired = 4008,

    /// <summary>
    /// Maximum login attempts exceeded.
    /// </summary>
    MaxLoginAttempts = 4009,

    /// <summary>
    /// Temporary lockout.
    /// </summary>
    TemporaryLockout = 4010,

    /// <summary>
    /// Maximum image downloads reached for the day.
    /// </summary>
    MaxImageDownloads = 5002,

    /// <summary>
    /// Maximum schedule/metadata requests reached for the day.
    /// </summary>
    MaxScheduleRequests = 5003
}