25 lines
634 B
C#
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)
|
|
{
|
|
}
|
|
}
|
|
}
|