-
Notifications
You must be signed in to change notification settings - Fork 140
feat(pkg/scale): add use of pkg/error Wrap for error handling #2708
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
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
4724528
add use of pkg/error Wrap for error handling
edwardmack f0e3fb4
update tests to handle additional error messages
edwardmack 3bbdf88
add error wraping to encode
edwardmack 38a5b41
add pkg/errors to result
edwardmack 27f769c
add use of pkg/errors
edwardmack ae761a8
update error handling to use fmt.Errorf
edwardmack 0689a34
refactor error handling for encode functions
edwardmack b710205
refactor errors to use fmt.Errorf
edwardmack 441edf9
address PR comments
edwardmack 05a0630
refactor error wrapping
edwardmack dcb89f4
WIP address PR comments
edwardmack 6cdbee5
Apply suggestions from code review
edwardmack 52cb66c
address PR comments
edwardmack e42f66a
refactor error handling
edwardmack 375fcc7
fix spelling error
edwardmack 9658a31
update tests error results check
edwardmack a3a1c1a
fix lint
edwardmack c31675c
update test error strings
edwardmack f798426
update error string in tests
edwardmack fb4a32b
update test error message string
edwardmack deb9f77
address merge conflicts
edwardmack 9b5b6f4
add check for sentinal EOF error
edwardmack e102ecd
correct decode code
edwardmack 7d6101e
add use of pkg/error Wrap for error handling
edwardmack 9e2e515
update tests to handle additional error messages
edwardmack 4a2c7e2
add error wraping to encode
edwardmack cc9f8a5
add pkg/errors to result
edwardmack af22699
add use of pkg/errors
edwardmack c026d58
update error handling to use fmt.Errorf
edwardmack bd3c307
refactor errors to use fmt.Errorf
edwardmack 74f3b92
address PR comments
edwardmack ec10128
refactor error wrapping
edwardmack d244cc9
WIP address PR comments
edwardmack c33323d
Apply suggestions from code review
edwardmack ecb9f16
address PR comments
edwardmack 8ed1bc1
update tests error results check
edwardmack b4dd52c
fix lint
edwardmack 67242e3
update test error strings
edwardmack a43e623
address merge conflicts
edwardmack 65e22b9
update tests for updated error messages
edwardmack 5a9e674
update error check in test
edwardmack 85329b4
resolve rebase conflicts, address PR comments
edwardmack e252d48
resolve rebase conflicts
edwardmack c8a3b68
fix check in decodeUint
edwardmack 049abed
clean up sentinal errors
edwardmack 0d9a34e
address PR comments
edwardmack b19f590
address PR comments
edwardmack fe80f3e
add to reading buffer error message
edwardmack 1a6d0a8
add VDTNotSet error
edwardmack 04a6eb1
update tests to conform to updated error messages
edwardmack af25576
unexport errors for private functions
edwardmack 31b3115
refactor error messages
edwardmack a110c3c
update tests to conform to error messages
edwardmack eeb2b77
remove un-needed error prefixes
edwardmack 620dec5
address PR comments
edwardmack 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
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
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.