This pull request updates the error messages in the check function to provide more informative and concise error messages. The "failed to check" error message has been changed to "check failed" to better reflect the actual error.
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected
If you haven't done so yet, we would appreciate it if you could star the OpenFGA repository. :)
Description
This pull request updates the error messages in the check function to provide more informative and concise error messages. The "failed to check" error message has been changed to "check failed" to better reflect the actual error.
Updated error message would look like:
Actual Example:
References
fixes #404
Review Checklist
main
If you haven't done so yet, we would appreciate it if you could star the OpenFGA repository. :)