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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user