Fix error messages for know errors.