Delete / Ignore Specific Test Executions by Error

Hi

I would like to know if there is any way to ignore or delete a test result with a condition. My condition would be a specif error in the test execution. I already did some research online but found nothing so my hopes are not that high.

Thanks for reading,
Michael