From d8df32a0f096bf3949f9fe61b05d969deef39f94 Mon Sep 17 00:00:00 2001 From: Menachem Hornbacher Date: Mon, 21 Dec 2020 11:32:11 -0500 Subject: [PATCH] Mark ErrorException as nullable to match interface --- 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)