Write prettier exception messages

This commit is contained in:
jrenslin committed 2023-10-16 22:39:46 +02:00
1 parent 1d1a690e0f
commit d9f3f875e0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ public static function fromString(string $input):MDNodaRepository {
'WIKIPEDIA' => self::wikidata,
'wikipedia' => self::wikipedia,
'Wikipedia' => self::wikipedia,
default => throw new MDpageParameterNotFromListException("Unknown noda repository: '" . $input . "'"),
default => throw new MDpageParameterNotFromListException("Unknown norm data repository: '" . $input . "'"),
};
}