Skip to content

Commit

Permalink
feat: add unknown message for errordetails
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi committed Nov 21, 2024
1 parent 491cee0 commit ae13dfc
Show file tree
Hide file tree
Showing 13 changed files with 835 additions and 580 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dragonfly-api"
version = "2.0.171"
version = "2.0.173"
authors = ["Gaius <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
84 changes: 75 additions & 9 deletions pkg/apis/errordetails/v2/errordetails.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

102 changes: 102 additions & 0 deletions pkg/apis/errordetails/v2/errordetails.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pkg/apis/errordetails/v2/errordetails.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ message Backend {
optional int32 status_code = 3 [(validate.rules).int32 = {gte: 100, lt: 599, ignore_empty: true}];
}

// Unknown is error detail for Unknown.
message Unknown {
// Unknown error message.
optional string message = 1;
}
Loading

0 comments on commit ae13dfc

Please sign in to comment.