Commit Graph
11 Commits
Author SHA1 Message Date
Rafael LemosandGitHub 69ce71efa6 feat(types): Add gRPC Richer Error Model support (Docs) (#1317)
* types: improve `lib.rs` docs, add `README` file

* types: update `Cargo.toml` file
2023-03-20 15:44:47 +00:00
Rafael LemosandGitHub d471212ee8 feat(types): Add gRPC Richer Error Model support (Examples) (#1300)
* types: remove unnecessary cloning from `ErrorDetails` getters

Breaking change.

* examples: add `richer-error` examples

Following implementation at flemosr/tonic-richer-error.
2023-03-14 15:26:35 +00:00
Rafael LemosandGitHub d54d02d3ed feat(types): Add gRPC Richer Error Model support (LocalizedMessage) (#1295)
* types: add support for `LocalizedMessage` error message type

Following implementation at flemosr/tonic-richer-error.

* types: add `ErrorDetails::with_help_link`
2023-02-27 16:25:43 +00:00
Rafael LemosandGitHub d6041a99c2 feat(types): Add gRPC Richer Error Model support (Help) (#1293)
* types: add support for `Help` error message type

Following implementation at flemosr/tonic-richer-error.

* types: add `ResourceInfo` to `gen_status_with_details` test

* types: use `impl Into<Vec<T>>` instead of `Vec<T>` in pub fn's params

* types: comply with clippy

* types: fix names of some tests and vars in `std_messages`
2023-02-23 11:24:19 +00:00
7eeda24350 feat(types): Add gRPC Richer Error Model support (ResourceInfo) (#1282)
* types: add support for `ResourceInfo` error message type

Following implementation at flemosr/tonic-richer-error.

* types: update doc comment examples

---------

Co-authored-by: Lucio Franco <[email protected]>
2023-02-21 17:03:37 +00:00
Rafael LemosandGitHub a52de8aec3 types: add support for RequestInfo error message type (#1280)
Following implementation at flemosr/tonic-richer-error.
2023-02-17 15:18:46 +00:00
Rafael LemosandGitHub 2378581850 feat(types): Add gRPC Richer Error Model support (PreconditionFailure) (#1276)
* types: add support for `PreconditionFailure` error message type

Following implementation at flemosr/tonic-richer-error.

* types: doc comments nits

* types: merge `impl` blocks at `std_messages`
2023-02-16 16:08:53 +00:00
Rafael LemosandGitHub 555a8bcf42 types: add support for ErrorInfo error message type (#1269)
Following implementation at flemosr/tonic-richer-error.
2023-02-15 15:24:17 +00:00
Rafael LemosandGitHub 03b4735bb4 feat(types): Add gRPC Richer Error Model support (QuotaFailure) (#1204) 2023-01-04 14:24:09 -05:00
Rafael LemosandGitHub 3076e8251e feat(types): add support for DebugInfo error message type (#1179) 2022-12-12 14:11:09 -05:00
Rafael LemosandGitHub 6cdb3d4685 feat(types): Add gRPC Richer Error Model support (RetryInfo) (#1095)
Add the code related to richer error model support to a new
`richer_error` module. This improves readability and hopefully will
make it easier to add new features to `tonic-types` in the future.
2022-12-01 11:48:06 -05:00