2 using System
.Collections
.Generic
;
4 using SMSApi
.Api
.Response
.ResponseResolver
;
5 using smsapi
.Api
.Response
.REST
.Exception
;
7 namespace SMSApi
.Api
.Response
.Deserialization
;
9 public class TooManyRequestsErrorResolver
: IResponseCodeAwareResolver
11 public Dictionary
<int, Action
<Stream
>> HandleExceptionActions()
13 return new Dictionary
<int, Action
<Stream
>>
15 { 429, _ => throw new TooManyRequestsException() }