GlobalPlatform / WebApis-for-SE

Open source Apis to access a Secure Element from a Web application
Apache License 2.0
18 stars 5 forks source link

Terms "error' and "exception" are mixed #52

Closed hchavers closed 8 years ago

hchavers commented 8 years ago

Comments from Trusted Computing Group - Item # 33

Section: 15. Error Types

Comment: The terms "error" and "exception" should be differentiated. They seem to be mixed in this document.

Proposed Resolution:

opoto commented 8 years ago

The specification only uses the term "error" to designate the data returned when an operation fails. However because error types inherit from DOMException, we named them using the "exception" suffix.