better error messages

 - now a line per error
 - uses error class