1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Fix exception type

Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
Olivier Schipper 2024-06-20 17:27:38 +02:00 committed by GitHub
parent 74399542d2
commit 4c6741e8aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,7 +148,7 @@ namespace osu.Game.Rulesets.Osu.Edit
break;
default:
throw new NotImplementedException($"{OsuGridToolboxGroup.GridType} has an incorrect value.");
throw new ArgumentOutOfRangeException(nameof(OsuGridToolboxGroup.GridType), OsuGridToolboxGroup.GridType, "Unsupported grid type.");
}
// Bind the start position to the toolbox sliders.