https://www.questionpro.com/blog/dueling-errors/
Dueling errors