Errors in metabolic processes resulting from inborn genetic mutations that are inherited or acquired in utero.