Correct and edit messages
MODIFY
WalletWasabi/Helpers/HttpMessageHelper.cs
WalletWasabi/Helpers/HttpMessageHelper.cs
@@ -525,7 +525,7 @@ namespace System.Net.Http
{
if (contentHeaders.ContentLength < 0)
{
- throw new HttpRequestException("Content-Length MUST be larger than zero.");
+ throw new HttpRequestException("Content-Length MUST be greater than or equal to zero.");
}
}
}

MODIFY
WalletWasabi/Models/Height.cs
WalletWasabi/Models/Height.cs
@@ -37,7 +37,7 @@ namespace WalletWasabi.Models
{
if (height < 0)
{
- throw new ArgumentException($"{nameof(height)} : {height} cannot be < 0");
+ throw new ArgumentException($"{nameof(height)} : {height} cannot be less than zero");
}
if (height == Unknown.Value)

MODIFY
WalletWasabi/Mono/StringCoda.cs
WalletWasabi/Mono/StringCoda.cs
@@ -230,7 +230,7 @@ namespace Mono.Options
if (curWidth < minWidth.Length)
{
throw new ArgumentOutOfRangeException("widths",
- $"Element must be >= {minWidth.Length}, was {curWidth}.");
+ $"Element must be greater than or equal to {minWidth.Length}, was {curWidth}.");
}
return curWidth;

Correct and edit messages