namespace ZelWiki.Engine.Library.Interfaces
{
///
/// Handles exceptions thrown by the wiki engine.
///
public interface IExceptionHandler
{
///
/// Called when an exception is thrown by the wiki engine.
///
/// Reference to the wiki state object
/// Optional exception, in the case that this was an actual exception.
/// Text that accompanies the exception.
public void Log(IZelEngineState state, Exception? ex, string customText);
}
}