-
Notifications
You must be signed in to change notification settings - Fork 2
Stricter error types #141
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
Merged
Merged
Stricter error types #141
Changes from 19 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
edde572
updates
airportyh f5190e3
refactor
airportyh 766304e
updates to generated test output
airportyh 9b0f693
tests pass
airportyh 29b9353
lint
airportyh 2f545bf
cleanup
airportyh 6b57ec4
use Any
airportyh 7be8c26
allow Any for error type so the existing error types can match them; …
airportyh c77679e
resnapshotted the tests
airportyh 8dcd439
regened the code
airportyh cb3aac9
lint
airportyh cda628f
non-abreviated names
airportyh 70c5ab8
test snapshot
airportyh 1e3aa57
add UnknownRiverError and translate_unknown_error
airportyh 693b174
lint
airportyh 7203fef
fixes
airportyh 26f3867
reverts
airportyh 9b5740a
Merge remote-tracking branch 'origin/main' into th-stricter-error-types
airportyh 86b36a1
fixed test
airportyh c46e64a
Update src/replit_river/client.py
airportyh 672492f
make error type and translate function dynamic
airportyh 3d4cbf0
Merge branch 'main' into th-stricter-error-types
airportyh 3f959e7
updated snapshots
airportyh b16f181
lint
airportyh ada5db6
Make the code more readable
blast-hardcheese e6edc73
Test for unknown error values
blast-hardcheese ca6c0fe
Make it possible to request a client that can emit errors
blast-hardcheese a0db2fe
Adding a streaming method that can emit known and unknown errors
blast-hardcheese 75f3431
Regenerating code
blast-hardcheese 7f98b0c
Only generate the snapshot code once
blast-hardcheese 8f5fce4
Actually write a test for stream errors
blast-hardcheese File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.