jso: add binding to Error.cause property

This commit is contained in:
Alexey Andreev 2024-11-28 15:24:41 +01:00
parent ff35ad3ed8
commit 146083565c

View File

@ -51,6 +51,9 @@ public class JSError implements JSObject {
@JSProperty @JSProperty
public native String getName(); public native String getName();
@JSProperty
public native JSError getCause();
@JSFunctor @JSFunctor
public interface TryClause<T> extends JSObject { public interface TryClause<T> extends JSObject {
T run(); T run();