public JsException(JsErrorType type, string message) : base(message) { Type = type; }
public JsException(JsErrorType type) : this(type, null) { }