mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 05:47:20 +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)
|
||||
{
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user