1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +08:00

Add more detail to exception

This commit is contained in:
Bartłomiej Dach 2023-12-19 08:57:18 +01:00
parent 44efa2c540
commit 7c05d66bd7
No known key found for this signature in database

View File

@ -253,7 +253,7 @@ namespace osu.Game.Screens.Select
return true;
default:
throw new ArgumentOutOfRangeException();
throw new ArgumentOutOfRangeException(nameof(Sort), Sort, "Unknown sort mode");
}
}