TypeErrorException.cs 322 B

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