// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
usingSystem;
namespaceMicrosoft.ClearScript
{
/// <summary>
/// Defines common script engine exception properties.
/// </summary>
publicinterfaceIScriptEngineException
{
/// <summary>
/// Gets the error message.
/// </summary>
stringMessage{get;}
/// <summary>
/// Gets an <c><see href="http://en.wikipedia.org/wiki/HRESULT">HRESULT</see></c> error code if one is available, zero otherwise.
/// </summary>
intHResult{get;}
/// <summary>
/// Gets the name associated with the script engine instance.
/// </summary>
stringEngineName{get;}
/// <summary>
/// Gets a detailed error message if one is available, <c>null</c> otherwise.
/// </summary>
stringErrorDetails{get;}
/// <summary>
/// Gets a value that indicates whether the exception represents a fatal error.
/// </summary>
boolIsFatal{get;}
/// <summary>
/// Gets a value that indicates whether script code execution had started before the current exception was thrown.
/// </summary>
boolExecutionStarted{get;}
/// <summary>
/// Gets the script exception that caused the current exception to be thrown, or <c>null</c> if one was not specified.
/// </summary>
dynamicScriptException{get;}
/// <summary>
/// Gets the script exception that caused the current exception to be thrown, or <c>null</c> if one was not specified, without engaging the dynamic infrastructure.
/// </summary>
objectScriptExceptionAsObject{get;}
/// <summary>
/// Gets the host exception that caused the current exception to be thrown, or <c>null</c> if one was not specified.