File tree 1 file changed +5
-3
lines changed 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ import {ClassContainerParams} from '../types/models-universe';
3
3
export const STRINGS = {
4
4
FILE_IS_NOT_YAML : 'Provided impl file is not in yaml format.' ,
5
5
IMPL_IS_MISSING : 'Impl file is missing.' ,
6
- MISSING_CLASSNAME : ' Initalization param ` model` is missing.' ,
7
- MISSING_PATH : ' Initalization param ` path` is missing.' ,
6
+ MISSING_CLASSNAME : " Initalization param ' model` is missing." ,
7
+ MISSING_PATH : " Initalization param ' path' is missing." ,
8
8
NOT_MODEL_PLUGIN_EXTENSION :
9
- ' Provided model does not extend ` ModelPluginInterface`.' ,
9
+ " Provided model does not extend ' ModelPluginInterface'." ,
10
10
STRUCTURE_MALFORMED : ( childName : string ) =>
11
11
`Graph is malformed: graph.children.${ childName } is not valid.` ,
12
12
NOT_INITIALIZED_MODEL : ( className : string ) =>
@@ -29,4 +29,6 @@ https://github.com/Green-Software-Foundation/if/issues/new?assignees=&labels=fee
29
29
` ,
30
30
NOT_CONSTRUCTABLE_MODEL : ( params : ClassContainerParams ) =>
31
31
`Provided model '${ params . model } ' is not constructable or does not belong to given plugin '${ params . path } '.` ,
32
+ INVALID_MODULE_PATH : ( path : string ) =>
33
+ `Provided module path: '${ path } ' is invalid.` ,
32
34
} ;
You can’t perform that action at this time.
0 commit comments