Files
FlaxEngine/Source/Editor/States/InvalidStateException.cs

25 lines
624 B
C#

// Copyright (c) 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)
{
}
}
}