Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review error strings #26

Open
jonnew opened this issue Aug 4, 2024 · 0 comments
Open

Review error strings #26

jonnew opened this issue Aug 4, 2024 · 0 comments

Comments

@jonnew
Copy link
Member

jonnew commented Aug 4, 2024

The error strings in this library often find themselves elevated all the way to the user. It is therefore very important that they are clear. We need to review each of these strings and make sure they describe, succinctly and accurately, what the error code means in an actionable way.

A particularly bad example is the following:

return "Attempt to trigger an already triggered operation";

Which should be replaced by something like "Device register access is ongoing and must complete before another is started"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant