W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > June 2015

Re: [web-bluetooth] Describe what to do if a method is called on a removed attribute

From: Vincent Scheib via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Jun 2015 19:30:51 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-110886208-1433964650-sysbot+gh@w3.org>
`InvalidStateError` sounds reasonable to me.

A related Apps will receive an event `serviceremoved` or 
`servicechanged`, and can then update any references to objects which 
are no longer valid, and thus could be written to avoid dealing with 
this exception what so ever. However, should they fail to do so 
`InvalidStateError` is good.

GitHub Notif of comment by scheib
Received on Wednesday, 10 June 2015 19:30:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:58:19 UTC