Add TooManyRequestsException with var retryWait

pull/1262/head
Bakerboy448 2 years ago committed by Qstick
parent 587a73f3d6
commit ba3a240707

@ -1,4 +1,4 @@
using System;
using System;
namespace NzbDrone.Common.Http
{
@ -25,5 +25,11 @@ namespace NzbDrone.Common.Http
}
}
}
public TooManyRequestsException(HttpRequest request, HttpResponse response, TimeSpan retryWait)
: base(request, response)
{
RetryAfter = retryWait;
}
}
}

Loading…
Cancel
Save