better error messages

more consistent and streamlined error messages