W3C home > Mailing lists > Public > public-device-apis-log@w3.org > April 2021

Re: [geolocation-api] Change text for description of GeolocationPositionError.message attribute (#50)

From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
Date: Fri, 02 Apr 2021 01:27:15 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-812266916-1617326834-sysbot+gh@w3.org>
@xfq, I've made the note stronger and provided more guidance for developers to use `.code` instead. It now says:

> NOTE: Don't show .message to users!
> The purpose of the message attribute is to assist with debugging - as such, they probably won't make any sense if shown to an end user. Please use the GeolocationPositionError's code attribute to create user-friendly localized error messages.



-- 
GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at https://github.com/w3c/geolocation-api/issues/50#issuecomment-812266916 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 2 April 2021 01:27:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 2 April 2021 01:27:54 UTC