mirror of
https://github.com/ppy/osu.git
synced 2026-06-05 21:54:47 +08:00
Use InvalidOperationException
This commit is contained in:
@@ -52,7 +52,7 @@ namespace osu.Game.Tests.Visual
|
||||
get
|
||||
{
|
||||
if (UseOnlineAPI)
|
||||
throw new Exception($"Using the {nameof(OsuTestScene)} dummy API is not supported when {nameof(UseOnlineAPI)} is true");
|
||||
throw new InvalidOperationException($"Using the {nameof(OsuTestScene)} dummy API is not supported when {nameof(UseOnlineAPI)} is true");
|
||||
|
||||
return dummyAPI;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user