First actual commit
added sources to repository
This commit is contained in:
15
RedditSharp/RateLimitException.cs
Normal file
15
RedditSharp/RateLimitException.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace RedditSharp
|
||||
{
|
||||
public class RateLimitException : Exception
|
||||
{
|
||||
public TimeSpan TimeToReset { get; set; }
|
||||
|
||||
public RateLimitException(TimeSpan timeToReset)
|
||||
{
|
||||
TimeToReset = timeToReset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user