-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: adjust agent server to raw error and cli error display (#472)
* feat: introduce RawError and middleware Signed-off-by: mlycore <[email protected]> * feat: introduce new errors Signed-off-by: mlycore <[email protected]> * refactor: using raw error and new error code Signed-off-by: mlycore <[email protected]> * refactor: using InvalidHttpRequestBody Signed-off-by: mlycore <[email protected]> * refactor: using raw error as cmd error Signed-off-by: mlycore <[email protected]> * fix: fix MvTempToPgData error handle Signed-off-by: mlycore <[email protected]> * feat: introduce http request raw error Signed-off-by: mlycore <[email protected]> * refactor: using unwrapped error Signed-off-by: mlycore <[email protected]> * chore: adjust style Signed-off-by: mlycore <[email protected]> * chore: adjust style Signed-off-by: mlycore <[email protected]> * chore: adjust style Signed-off-by: mlycore <[email protected]> * chore: adjust style Signed-off-by: mlycore <[email protected]> * chore: adjust style Signed-off-by: mlycore <[email protected]> * chore: adjust style Signed-off-by: mlycore <[email protected]> --------- Signed-off-by: mlycore <[email protected]>
- Loading branch information
Showing
12 changed files
with
208 additions
and
118 deletions.
There are no files selected for viewing
This file contains 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 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 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 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.