Updates encoder errors

Some error texts change in hope of providing more meaningful messages.