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)