Display wrong input in MDTagRelationType

This commit is contained in:
2025-10-17 12:34:17 +02:00
parent 0ac48adc51
commit fb10be6d1c

View File

@@ -40,7 +40,7 @@ enum MDTagRelationType implements MDValueEnumInterface, JsonSerializable {
'topic' => self::topic,
'mentioned' => self::mentioned,
'taxon' => self::taxon,
default => throw new MDpageParameterNotFromListException("Unknown tag relation type"),
default => throw new MDpageParameterNotFromListException("Unknown tag relation type: " . $input),
};
}