-
Notifications
You must be signed in to change notification settings - Fork 23
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
Improve guideline documentation for business errors #8321
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8321 +/- ##
==========================================
- Coverage 73.54% 73.52% -0.02%
==========================================
Files 1330 1330
Lines 41019 41019
Branches 7601 7601
==========================================
- Hits 30167 30160 -7
- Misses 10852 10859 +7 ☔ View full report in Codecov by Sentry. |
src/errors/businessErrors.ts
Outdated
* by the PixieBrix team | ||
* - Business errors indicate a problem with user-defined content or 3rd party services. They must be addressed | ||
* by the customer | ||
* - Business errors are not reported to Datadog, but are reported to the PixieBrix error telemetry service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A link here to some place that further describes or defines the Pixiebrix error telemetry service could be useful.
src/errors/businessErrors.ts
Outdated
* An error indicating an invalid input was provided to a brick. Used for runtime checks that cannot be performed as | ||
* part of JSONSchema input validation. | ||
* | ||
* Throwing PropError instead of BusinessError allows the Page Editor so show the error on the associated field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Throwing PropError instead of BusinessError allows the Page Editor so show the error on the associated field | |
* Throwing PropError instead of BusinessError allows the Page Editor to show the error on the associated field |
No loom links were found in the first post. Please add one there if you'd like to it to appear on Slack. Do not edit this comment manually. |
What does this PR do?
Discussion
Checklist