Use the same messages
MODIFY
WalletWasabi.Gui/Config.cs
WalletWasabi.Gui/Config.cs
@@ -273,7 +273,7 @@ namespace WalletWasabi.Gui
}
else
{
- throw new NotSupportedException("Unsupported network");
+ throw new NotSupportedException($"{nameof(Network)} not supported: {Network}.");
}
}
@@ -293,7 +293,7 @@ namespace WalletWasabi.Gui
}
else
{
- throw new NotSupportedException("Unsupported network");
+ throw new NotSupportedException($"{nameof(Network)} not supported: {Network}.");
}
}

MODIFY
WalletWasabi/Helpers/PasswordHelper.cs
WalletWasabi/Helpers/PasswordHelper.cs
@@ -111,7 +111,7 @@ namespace WalletWasabi.Helpers
if (IsTrimable(password, out _)) // Password should be formatted, before entering here.
{
- throw new FormatException("Leading and trailing white spaces are not enabled!");
+ throw new FormatException("Leading and trailing white spaces are not allowed!");
}
}

Use the same messages