w3c / at-driver

AT Driver defines a protocol for introspection and remote control of assistive technology software, using a bidirectional communication channel.
https://w3c.github.io/at-driver
Other
31 stars 4 forks source link

Editorial: rename "respond with an error" #56

Closed jugglinmike closed 1 year ago

jugglinmike commented 1 year ago

The proposal defines "error" as an internal type for describing one kind of result of fallible algorithms, and it defines "ErrorResponse" as a type of message which may be sent to clients. The algorithm used to transmit error responses to clients is named "respond with an error" even though it does not use the "error" type.

Rename "respond with an error" to "send an error response" to more accurately describe the types involved.


Preview | Diff

jugglinmike commented 1 year ago

The name "respond with an error" was likely inherited from the WebDriver Bidi proposal, but we recently made this change to that text.

jugglinmike commented 1 year ago

Thanks!