12345678910111213141516171819202122 |
- using Jint.Native.Object;
- namespace Jint.Native.Error
- {
- public class ErrorInstance : ObjectInstance
- {
- public ErrorInstance(Engine engine, string name)
- : base(engine)
- {
- FastAddProperty("name", name, true, false, true);
- FastAddProperty("message", "", true, false, true);
- }
- public override string Class
- {
- get
- {
- return "Error";
- }
- }
- }
- }
|