An inherited metabolic disease that is has its basis in the disruption of porphyrin-containing compound metabolic process. The disease is inborn disorder of porphyrin metabolism (Monarch Disease Ontology term MONDO_0017754). Also known as: inborn disorder of porphyrin and haem metabolism, inborn error of porphyrin-containing compound metabolic process, inborn porphyrin-containing compound metabolic process disorder, inherited disorder of porphyrin metabolism, rare inborn error of porphyrin-containing compound metabolic process.