Add type / value to MDImporterMissingConcordance
This commit is contained in:
@@ -656,6 +656,7 @@ final class MDConcActor implements MDImporterConcordanceListInterface {
|
||||
"Zeichnerin" => 19,
|
||||
"Zeichner*in" => 19,
|
||||
'Zeichner/in' => 19, // drawn by
|
||||
'Zeichnung' => 19, // drawn by
|
||||
"Zeichner / Inventor" => 19,
|
||||
"Zeichner, Autor der Dekoration" => 19,
|
||||
"Zeichner und Grafiker" => 19,
|
||||
@@ -1277,7 +1278,7 @@ final class MDConcActor implements MDImporterConcordanceListInterface {
|
||||
public static function getConcordanceTarget(string $input):int {
|
||||
|
||||
if (!isset(self::ACTOR_ROLES_TO_EVENT_TYPE[$input])) {
|
||||
throw new MDImporterMissingConcordance("Unknown actor role: " . $input);
|
||||
throw MDImporterMissingConcordance::setup("actor role", $input);
|
||||
}
|
||||
|
||||
return self::ACTOR_ROLES_TO_EVENT_TYPE[$input];
|
||||
|
||||
Reference in New Issue
Block a user