Skip to content

Commit 58db502

Browse files
author
Kevin Hellemun
committed
Can you even spell bro?.
1 parent 3d2ae29 commit 58db502

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

BunqSdk/Exception/ExceptionFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static ApiException CreateExceptionForResponse(int responseCode, IList<st
3838
case HTTP_RESPONSE_CODE_METHOD_NOT_ALLOWED:
3939
return new MethodNotAllowedException(responseCode, errorMessage);
4040
case HTTP_RESPONSE_CODE_TOO_MANY_REQUESTS:
41-
return new ToManyRequestsException(responseCode, errorMessage);
41+
return new TooManyRequestsException(responseCode, errorMessage);
4242
case HTTP_RESPONSE_CODE_INTERNAL_SERVER_ERROR:
4343
return new PleaseContactBunqException(responseCode, errorMessage);
4444
default:

BunqSdk/Exception/ToManyRequestsException.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace Bunq.Sdk.Exception
2+
{
3+
public class TooManyRequestsException : ApiException
4+
{
5+
public TooManyRequestsException(int responseCode, string messages) : base(responseCode, messages)
6+
{
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)