diff --git a/jso/apis/src/main/java/org/teavm/jso/core/JSError.java b/jso/apis/src/main/java/org/teavm/jso/core/JSError.java index 72136dab7..1f59954e2 100644 --- a/jso/apis/src/main/java/org/teavm/jso/core/JSError.java +++ b/jso/apis/src/main/java/org/teavm/jso/core/JSError.java @@ -51,6 +51,9 @@ public class JSError implements JSObject { @JSProperty public native String getName(); + @JSProperty + public native JSError getCause(); + @JSFunctor public interface TryClause extends JSObject { T run();