These functions enhance the usefulness of error messages.