types: add support for ErrorInfo error message type (#1269)

Following implementation at flemosr/tonic-richer-error.
This commit is contained in:
Rafael Lemos
2023-02-15 15:24:17 +00:00
committed by GitHub
parent 5acde56176
commit 555a8bcf42
6 changed files with 269 additions and 8 deletions
+2 -2
View File
@@ -46,8 +46,8 @@ pub use pb::Status;
mod richer_error;
pub use richer_error::{
BadRequest, DebugInfo, ErrorDetail, ErrorDetails, FieldViolation, QuotaFailure, QuotaViolation,
RetryInfo, StatusExt,
BadRequest, DebugInfo, ErrorDetail, ErrorDetails, ErrorInfo, FieldViolation, QuotaFailure,
QuotaViolation, RetryInfo, StatusExt,
};
mod sealed {