Return on first error in loop.
Add predicates for alerts