Skip to content

Commit

Permalink
Mark ErrorException as nullable to match interface (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
Menachem Hornbacher committed Dec 21, 2020
1 parent e3280ab commit 0ed7b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RestSharp/RestResponse.cs
Expand Up @@ -127,7 +127,7 @@ public string Content
/// <summary>
/// The exception thrown during the request, if any
/// </summary>
public Exception ErrorException { get; set; }
public Exception? ErrorException { get; set; }

/// <summary>
/// The HTTP protocol version (1.0, 1.1, etc)
Expand Down

0 comments on commit 0ed7b0a

Please sign in to comment.