• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Aldaviva / InoreaderCs / 25933685254

15 May 2026 06:07PM UTC coverage: 99.345% (-0.7%) from 100.0%
25933685254

push

github

Aldaviva
When determining if a label is either a tag or a folder and the result isn't cached, automatically refresh from the server immediately once, instead of always relying on the last periodically cached value. Avoid possible race between label cache being updated and read at the same time. Updated from xUnit 2 to 3.

212 of 250 branches covered (84.8%)

15 of 20 new or added lines in 4 files covered. (75.0%)

758 of 763 relevant lines covered (99.34%)

14.34 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.0
/InoreaderCs/InoreaderException.cs
1
using InoreaderCs.RateLimit;
2

3
namespace InoreaderCs;
4

5
/// <summary>
6
/// Base class for exceptions thrown by the InoreaderCs library.
7
/// </summary>
8
/// <param name="message">Error description.</param>
9
/// <param name="cause">Cause of the error.</param>
10
public class InoreaderException(string message, Exception? cause): ApplicationException(message, cause) {
19✔
11

12
    /// <summary>
13
    /// Not authorized error.
14
    /// </summary>
15
    /// <param name="message">Error description.</param>
16
    /// <param name="cause">Cause of the error.</param>
17
    public sealed class Unauthorized(string message, Exception? cause): InoreaderException(message, cause);
6✔
18

19
    /// <summary>Too many requests.</summary>
20
    /// <param name="stats">Rate limit quota and usage from the offending request.</param>
21
    /// <param name="cause">Cause of the error.</param>
22
    public sealed class RateLimited(RateLimitStatistics stats, Exception cause): InoreaderException("Rate limited", cause) {
1✔
23

24
        /// <summary>
25
        /// Rate limit quota and usage from the offending request.
26
        /// </summary>
27
        public RateLimitStatistics Statistics => stats;
1✔
28

29
    }
30

NEW
31
    internal sealed class UnknownLabel(string label): InoreaderException("Unknown label " + label, null);
×
32

33
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc