Skip to content

Commit

Permalink
Merge pull request #103 from natsu1211/fix-nested-exception-message
Browse files Browse the repository at this point in the history
Fix message of NestedStringBuilderCreationException throwed by Utf8ValueStringBuilder.ThrowNestedException()
  • Loading branch information
neuecc authored Jan 27, 2024
2 parents 6442f68 + eb1e148 commit 44fa025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZString/Utf8ValueStringBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ void ThrowFormatException()

static void ThrowNestedException()
{
throw new NestedStringBuilderCreationException(nameof(Utf16ValueStringBuilder));
throw new NestedStringBuilderCreationException(nameof(Utf8ValueStringBuilder));
}

private void AppendFormatInternal<T>(T arg, int width, StandardFormat format, string argName)
Expand Down

0 comments on commit 44fa025

Please sign in to comment.