ModuleError
Hierarchy
- Error
- ModuleError
Index
Constructors
Properties
Constructors
constructor
Parameters
message: string
The error message.
moduleName: string
The module that raised it.
Returns ModuleError
Properties
readonlymodule
The name of the module class that refused its inputs.
Thrown by a module that cannot satisfy its inputs. Raise it from AModule.onInit to fail a run before anything is built.
Errors/Module
When a module's inputs cannot be satisfied: one is missing, conflicts with another, or breaks a limit another module imposes.
When a state is extended after a module loaded, or from a run that sealed no models.
When an imported class was generated on another version of its package.