failedModules property

Map<String, Object> failedModules
final

Module names that compileAllModules failed to compile on its last run.

Maps moduleName → error for every module that threw during both the formatted and the raw fallback compile. Callers can inspect this to detect partial output instead of silently shipping an incomplete package. Reset at the start of each compileAllModules call.

Implementation

final Map<String, Object> failedModules = {};