mirror of
https://github.com/ppy/osu.git
synced 2026-06-06 07:45:02 +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