Skip to content

Commit e18460a

Browse files
committed
Merge pull request #487 from enricosada/patch-1
fix typo
2 parents 9d3405b + 1fe7c3d commit e18460a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

RestSharp.MonoDroid/Extensions/ResponseStatusExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static WebException ToWebException(this ResponseStatus responseStatus)
1818
case ResponseStatus.None:
1919
return new WebException("The request could not be processed.", WebExceptionStatus.ServerProtocolViolation);
2020
case ResponseStatus.Error:
21-
return new WebException("An error occured while processing the request.", WebExceptionStatus.ServerProtocolViolation);
21+
return new WebException("An error occurred while processing the request.", WebExceptionStatus.ServerProtocolViolation);
2222
case ResponseStatus.TimedOut:
2323
return new WebException("The request timed-out.", WebExceptionStatus.Timeout);
2424
case ResponseStatus.Aborted:

RestSharp.MonoTouch/Extensions/ResponseStatusExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static WebException ToWebException(this ResponseStatus responseStatus)
1818
case ResponseStatus.None:
1919
return new WebException("The request could not be processed.", WebExceptionStatus.ServerProtocolViolation);
2020
case ResponseStatus.Error:
21-
return new WebException("An error occured while processing the request.", WebExceptionStatus.ServerProtocolViolation);
21+
return new WebException("An error occurred while processing the request.", WebExceptionStatus.ServerProtocolViolation);
2222
case ResponseStatus.TimedOut:
2323
return new WebException("The request timed-out.", WebExceptionStatus.Timeout);
2424
case ResponseStatus.Aborted:

RestSharp.Net4/Extensions/ResponseStatusExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static WebException ToWebException(this ResponseStatus responseStatus)
1818
case ResponseStatus.None:
1919
return new WebException("The request could not be processed.", WebExceptionStatus.ServerProtocolViolation);
2020
case ResponseStatus.Error:
21-
return new WebException("An error occured while processing the request.", WebExceptionStatus.ServerProtocolViolation);
21+
return new WebException("An error occurred while processing the request.", WebExceptionStatus.ServerProtocolViolation);
2222
case ResponseStatus.TimedOut:
2323
return new WebException("The request timed-out.", WebExceptionStatus.Timeout);
2424
case ResponseStatus.Aborted:

0 commit comments

Comments
 (0)