GuestExceptionSimplifier
com.jsmacrosce.jsmacros.graal.language.impl.GuestExceptionSimplifier
Simplifies selected Graal guest arity and overload errors into diagnostic messages.
Methods
simplifyException
Simplifies guest arity and overload errors when their Graal exception details and message format are recognized. Other exceptions and failures during simplification return the original exception message.
Parameters:
ex: the exception to simplify
Returns: the simplified diagnostic when recognized, or the original message otherwise