TypeErrorException.cs 389 B

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