public JavaScriptException(ErrorConstructor errorConstructor, string message, Exception inner) : base(message, inner) { if (inner != null) { _errorObject = errorConstructor.Construct(new JsValue[] { message, inner.ToString() }); } else { _errorObject = errorConstructor.Construct(new JsValue[] { message }); } }
public JavaScriptException(ErrorConstructor errorConstructor, string message) : base(message) { _errorObject = errorConstructor.Construct(new JsValue[] { message }); }
public JavaScriptException(ErrorConstructor errorConstructor) : base("") { _errorObject = errorConstructor.Construct(Arguments.Empty); }
public JavaScriptException(ErrorConstructor errorConstructor) : base("") { _errorObject = errorConstructor.Construct(Arguments.Empty); CallStack = errorConstructor.Engine.CallStack; }
public JavaScriptException(ErrorConstructor errorConstructor, string message, Exception innerException) : base(message, innerException) { Error = errorConstructor.Construct(new JsValue[] { message }); }