Rename error message method