Select example
Fixed error generation, now any error type can be aggregated