E:\Devel\PlayniteDiagTool\PlayniteDiagTool\bin\Debug\temp\PlayniteSDK\Exceptions\ScriptRuntimeException.cs e:\Devel\Playnite\source\PlayniteSDK\Exceptions\ScriptRuntimeException.cs
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
   
namespace Playnite.SDK.Exceptions namespace Playnite.SDK.Exceptions
{ {
   /// <summary>    /// <summary>
   /// Represents exception from scripting runtime.    /// Represents exception from scripting runtime.
   /// </summary>    /// </summary>
   public class ScriptRuntimeException : LocalizedException    public class ScriptRuntimeException : LocalizedException
   {    {
       /// <summary>        /// <summary>
       /// Gets script runtime stack trace.        /// Gets script runtime stack trace.
       /// </summary>        /// </summary>
       public string ScriptStackTrace { get; private set; }        public string ScriptStackTrace { get; private set; }
   
       /// <summary>        /// <summary>
       /// Creates new instance of <see cref="ScriptRuntimeException"/>.        /// Creates new instance of <see cref="ScriptRuntimeException"/>.
       /// </summary>        /// </summary>
       public ScriptRuntimeException() : base()        public ScriptRuntimeException() : base()
       {        {
       }        }
   
       /// <summary>        /// <summary>
       /// Creates new instance of <see cref="ScriptRuntimeException"/>.        /// Creates new instance of <see cref="ScriptRuntimeException"/>.
       /// </summary>        /// </summary>
       /// <param name="message"></param>        /// <param name="message"></param>
       public ScriptRuntimeException(string message) : base(message)        public ScriptRuntimeException(string message) : base(message)
       {        {
       }        }
   
       /// <summary>        /// <summary>
       /// Creates new instance of <see cref="ScriptRuntimeException"/>.        /// Creates new instance of <see cref="ScriptRuntimeException"/>.
       /// </summary>        /// </summary>
       /// <param name="message"></param>        /// <param name="message"></param>
       /// <param name="stackTrace"></param>        /// <param name="stackTrace"></param>
       public ScriptRuntimeException(string message, string stackTrace) : base(message)        public ScriptRuntimeException(string message, string stackTrace) : base(message)
       {        {
           ScriptStackTrace = stackTrace;            ScriptStackTrace = stackTrace;
       }        }
.   
         /// <inheritdoc/>
         public override string ToString()
         {
             return base.ToString() + "\n--- script trace ---\n" + ScriptStackTrace;
         }
   }    }
} }