mirror of
https://github.com/ppy/osu.git
synced 2025-03-16 00:37:19 +08:00
Make exception message more descriptive
This commit is contained in:
parent
1b06957566
commit
a2a2df0973
@ -74,7 +74,7 @@ namespace osu.Game.Graphics
|
|||||||
switch (colourScheme)
|
switch (colourScheme)
|
||||||
{
|
{
|
||||||
default:
|
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:
|
case OverlayColourScheme.Red:
|
||||||
hue = 0;
|
hue = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user