TypeErrorException.cs 369 B

123456789101112131415
  1. namespace Jint.Runtime
  2. {
  3. /// <summary>
  4. /// Workaround for situation where engine is not easily accessible.
  5. /// </summary>
  6. internal sealed class TypeErrorException : JintException
  7. {
  8. public TypeErrorException(string? message, Node? node) : base(message)
  9. {
  10. Node = node;
  11. }
  12. public Node? Node { get; }
  13. }
  14. }