@@ -25,6 +25,7 @@ data Error
2525 | DuplicateSettingOnEffectModule String
2626 | BadSettingOnEffectModule String
2727 | NoSettingsOnEffectModule
28+ | MissingManagerOnEffectModule String
2829
2930 | InfixDuplicate String
3031 | TypeWithoutDefinition String
@@ -105,15 +106,24 @@ toReport _localizer err =
105106 Report.report
106107 "BAD MODULE DECLARATION"
107108 Nothing
108− "A normal module can expose values, but not register commands and subscriptions."
109+ "A normal module can expose values, but not settings like this."
109110 ( Help.reflowParagraph $
110111 "If you want a normal module, just remove this stuff. If you want to create\
111112 \ an `effect module` you just forgot to use the `effect` keyword. In that\
112− \ case, just change `module` to `effect module` and you should be all set!"
113+ \ case, just change `module` to `effect module` and you should be headed in\
114+ \ the right direction!"
113115 )
114116
115117 SettingsOnForeignModule ->
116− error "TODO - SettingsOnForeignModule"
118+ Report.report
119+ "BAD MODULE DECLARATION"
120+ Nothing
121+ "A foreign effect module can expose values, but not have settings like this."
122+ ( Help.reflowParagraph $
123+ "If you want a foreign effect module, just remove this stuff. If you want\
124+ \ to create an `effect module` instead, just change `foreign effect module`\
125+ \ to `effect module` and you should be headed in the right direction!"
126+ )
117127
118128 DuplicateSettingOnEffectModule name ->
119129 error "TODO - DuplicateSettingOnEffectModule" name
@@ -124,6 +134,9 @@ toReport _localizer err =
124134 NoSettingsOnEffectModule ->
125135 error "TODO - NoSettingsOnEffectModule"
126136
137+ MissingManagerOnEffectModule name ->
138+ error "TODO - NoSettingsOnEffectModule" name
139+
127140 InfixDuplicate opName ->
128141 Report.report
129142 "INFIX OVERLAP"