chore: performed extract method code rafactoring when adding error messages in retrieval list
chore: performed extract method code rafactoring when adding error messages in retrieval list

spdx/tools,spdx/tools