With JSR223 compatible Kotlin scripting, I like to have an API to get the compiler error messages when the script passed to the eval() method is wrong, but I can’t find one.
How can the compiler error messages being displayed programmatically with the JSR223 scripting framework?
Have you tried jvm scripting host directly, without JSR223 ?
As I remember, it gives more information about errors.
You can find some examples on github.