Enhanced the error message.