react: return domain-specific errors (DO NOT MERGE, reference for #434 #464 merge ONLY) #463
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #462.
Closes #464 by mutual exclusion.
Note to reviewers: Since this will inevitably conflict with #434, I chose to make all commits on top of #434. This assumes that #434 is getting merged before this one.
You should ignore the commit from #434 in your review of this PR.
If you would instead prefer the changes described in this PR be merged before #434 (perhaps you can review this one very quickly but require more time to review #434), you must instead review #464. Then #434 will rebased on #464.
I have no particular preference on whether the five commits comprising this PR should be squashed (but please do not squash them together with #434).