1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 01:39:55 +08:00

Make exception message more descriptive

This commit is contained in:
Andrei Zavatski
2020-01-18 23:57:20 +03:00
Unverified
parent 1b06957566
commit a2a2df0973
+1 -1
View File
@@ -74,7 +74,7 @@ namespace osu.Game.Graphics
switch (colourScheme)
{
default:
throw new ArgumentException(@"Used colourScheme has no hue value!");
throw new ArgumentException($@"{colourScheme} colour scheme does not provide a hue value in {nameof(getBaseHue)}.");
case OverlayColourScheme.Red:
hue = 0;