mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 00:04:10 -08:00
jso: add binding to Error.cause property
This commit is contained in:
parent
ff35ad3ed8
commit
146083565c
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user