@staabm  `Use stdout to output errors and return a copy of `$messages` array without them.` sounds good to you ?