The function report-error-to-java-host
tries to report an error to the Java host.
It is assumed that error-string specifies the error and log-file-string specifies a file where a log of the error is written. report-error-to-java-host
funcalls the function that was passed as the report-error-to-java-host argument to init-java-interface, or the default function, with these two arguments.
On Android the keyword argument to init-java-interface is passed with a function that invokes the user Java error reporters (set in Java by com.lispworks.Manager.setErrorReporter
and com.lispworks.Manager.setGuiErrorReporter
).
The default function just prints to cl:*terminal-io*
, which may be useful enough for debugging.
LispWorks User Guide and Reference Manual - 20 Sep 2017