From 0ed7b0a6b64ab4b9838c2c0cb76a1808facebe09 Mon Sep 17 00:00:00 2001 From: Menachem Hornbacher Date: Mon, 21 Dec 2020 11:42:59 -0500 Subject: [PATCH] Mark ErrorException as nullable to match interface (#1548) --- src/RestSharp/RestResponse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RestSharp/RestResponse.cs b/src/RestSharp/RestResponse.cs index 6a70dc9fc..2da2b4fa6 100644 --- a/src/RestSharp/RestResponse.cs +++ b/src/RestSharp/RestResponse.cs @@ -127,7 +127,7 @@ public string Content /// /// The exception thrown during the request, if any /// - public Exception ErrorException { get; set; } + public Exception? ErrorException { get; set; } /// /// The HTTP protocol version (1.0, 1.1, etc)