Skip to content

Commit

Permalink
override HttpIOException.Message to include HttpRequestError
Browse files Browse the repository at this point in the history
  • Loading branch information
antonfirsov committed Jul 17, 2023
1 parent c7ac73b commit 2eb3a4a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ public HttpIOException(HttpRequestError httpRequestError, string? message = null
/// Gets the <see cref="Http.HttpRequestError"/> that caused the exception.
/// </summary>
public HttpRequestError HttpRequestError { get; }

/// <inheritdoc />
public override string Message => $"{base.Message} ({HttpRequestError})";
}
}

0 comments on commit 2eb3a4a

Please sign in to comment.