Files
FlaxEngine/Source/Editor/States/InvalidStateException.cs
2023-01-10 15:29:37 +01:00

25 lines
634 B
C#

// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
using System;
using FlaxEngine;
namespace FlaxEditor.States
{
/// <summary>
/// Operation cannot be performed in the current editor state.
/// </summary>
/// <seealso cref="System.Exception" />
[HideInEditor]
public class InvalidStateException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="InvalidStateException"/> class.
/// </summary>
/// <param name="msg">The message.</param>
public InvalidStateException(string msg)
: base(msg)
{
}
}
}