Further work on errors class