Skip to content

Commit 3d7bb5e

Browse files
author
Kevin Hellemun
committed
Fixed indentions. (#63)
1 parent 3d9c9de commit 3d7bb5e

9 files changed

+20
-20
lines changed

BunqSdk/Exception/BadRequestException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
public class BadRequestException : ApiException
44
{
5-
public BadRequestException(int responseCode, string message, string responseId) :
6-
base(responseCode, message, responseId)
5+
public BadRequestException(int responseCode, string message, string responseId)
6+
: base(responseCode, message, responseId)
77
{
88
}
99
}

BunqSdk/Exception/ForbiddenException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
public class ForbiddenException : ApiException
44
{
5-
public ForbiddenException(int responseCode, string message, string responseId) :
6-
base(responseCode, message, responseId)
5+
public ForbiddenException(int responseCode, string message, string responseId)
6+
: base(responseCode, message, responseId)
77
{
88
}
99
}

BunqSdk/Exception/MethodNotAllowedException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
public class MethodNotAllowedException : ApiException
44
{
5-
public MethodNotAllowedException(int responseCode, string message, string responseId) :
6-
base(responseCode, message, responseId)
5+
public MethodNotAllowedException(int responseCode, string message, string responseId)
6+
: base(responseCode, message, responseId)
77
{
88
}
99
}

BunqSdk/Exception/NotFoundException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
public class NotFoundException : ApiException
44
{
5-
public NotFoundException(int responseCode, string message, string responseId) :
6-
base(responseCode, message, responseId)
5+
public NotFoundException(int responseCode, string message, string responseId)
6+
: base(responseCode, message, responseId)
77
{
88
}
99
}

BunqSdk/Exception/PleaseContactBunqException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
public class PleaseContactBunqException : ApiException
44
{
5-
public PleaseContactBunqException(int responseCode, string message, string responseId) :
6-
base(responseCode, message, responseId)
5+
public PleaseContactBunqException(int responseCode, string message, string responseId)
6+
: base(responseCode, message, responseId)
77
{
88
}
99
}

BunqSdk/Exception/TooManyRequestsException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
public class TooManyRequestsException : ApiException
44
{
5-
public TooManyRequestsException(int responseCode, string message, string responseId) :
6-
base(responseCode, message, responseId)
5+
public TooManyRequestsException(int responseCode, string message, string responseId)
6+
: base(responseCode, message, responseId)
77
{
88
}
99
}

BunqSdk/Exception/UnauthorizedException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
public class UnauthorizedException : ApiException
44
{
5-
public UnauthorizedException(int responseCode, string message, string responseId) :
6-
base(responseCode, message, responseId)
5+
public UnauthorizedException(int responseCode, string message, string responseId)
6+
: base(responseCode, message, responseId)
77
{
88
}
99
}

BunqSdk/Exception/UnknownApiErrorException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
/// </summary>
66
public class UnknownApiErrorException : ApiException
77
{
8-
public UnknownApiErrorException(int responseCode, string message, string responseId) :
9-
base(responseCode, message, responseId)
8+
public UnknownApiErrorException(int responseCode, string message, string responseId)
9+
: base(responseCode, message, responseId)
1010
{
1111
}
1212
}

BunqSdk/Http/ApiClient.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class ApiClient
2121
/// Error constatns.
2222
/// </summary>
2323
private static string ERROR_COULD_NOT_DETERMINE_RESPONSE_ID_HEADER =
24-
"The response header \"X-Bunq-Client-Response-Id\" or \"x-bunq-client-response-id\" could not be found.";
24+
"The response header \"X-Bunq-Client-Response-Id\" or \"x-bunq-client-response-id\" could not be found.";
2525

2626
/// <summary>
2727
/// Endpoints not requiring active session for the request to succeed.
@@ -314,23 +314,23 @@ private static ApiException CreateApiExceptionRequestUnsuccessful(
314314
int responseCode,
315315
string responseBody,
316316
string responseId
317-
)
317+
)
318318
{
319319
try
320320
{
321321
return ExceptionFactory.CreateExceptionForResponse(
322322
responseCode,
323323
FetchErrorDescriptions(responseBody),
324324
responseId
325-
);
325+
);
326326
}
327327
catch (JsonException)
328328
{
329329
return ExceptionFactory.CreateExceptionForResponse(
330330
responseCode,
331331
new List<string> {responseBody},
332332
responseId
333-
);
333+
);
334334
}
335335
}
336336

0 commit comments

Comments
 (0)