mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 06:07:11 +09:00
Throw again to ensure correct available state is set
Also standardises handling between `RulesetStore` and `RealmRulesetStore`.
This commit is contained in:
15
osu.Game/Rulesets/RulesetLoadException.cs
Normal file
15
osu.Game/Rulesets/RulesetLoadException.cs
Normal file
@ -0,0 +1,15 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
|
||||
namespace osu.Game.Rulesets
|
||||
{
|
||||
public class RulesetLoadException : Exception
|
||||
{
|
||||
public RulesetLoadException(string message)
|
||||
: base(@$"Ruleset could not be loaded ({message})")
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user