mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09: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