MCPcopy Create free account
hub / github.com/bnjbvr/trinity / error

Method error

java-module/Log.java:49–53  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

47 private static native void wasmImportError(int p0, int p1);
48
49 public static void error(String s) {
50 byte[] bytes = (s).getBytes(StandardCharsets.UTF_8);
51 wasmImportError(Address.ofData(bytes).toInt(), bytes.length);
52
53 }
54
55}
56

Callers

nothing calls this directly

Implementers 1

lib.rsmodules/wit-log/src/lib.rs

Calls 1

wasmImportErrorMethod · 0.95

Tested by

no test coverage detected