Class VerboseErrorMessages
java.lang.Object
org.ek9lang.compiler.common.VerboseErrorMessages
Provides verbose error messages for AI-assisted development.
When enabled via the -ve command line flag, these detailed messages
are appended to error output to help AI assistants understand and
resolve EK9 compilation errors more effectively.
Each error code has a verbose message containing:
- COMMON CAUSES - typical reasons for this error
- TO FIX - suggested remediation steps
- DISTINCTION - clarification from similar error codes
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetVerboseMessage(String errorCode) static booleanstatic voidsetVerboseEnabled(boolean enabled)
-
Method Details
-
setVerboseEnabled
public static void setVerboseEnabled(boolean enabled) -
isVerboseEnabled
public static boolean isVerboseEnabled() -
getVerboseMessage
-