File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,12 @@ use reqwest::StatusCode;
3131use crate :: types:: ErrorResponse ;
3232
3333/// Trait for handling REST API error responses and converting to semantic errors.
34- ///
35- /// Error handlers process HTTP error responses and map them to appropriate
36- /// `iceberg::Error` instances with correct error kinds and context.
3734pub trait ErrorHandler : Send + Sync {
3835 /// Process an error response and convert to iceberg::Error.
3936 fn handle ( & self , code : StatusCode , response : & ErrorResponse ) -> Error ;
4037}
4138
42- /// Default error handler for common HTTP status codes per REST spec .
39+ /// Default error handler for common HTTP error responses .
4340#[ derive( Debug , Default , Clone , Copy ) ]
4441pub struct DefaultErrorHandler ;
4542
You can’t perform that action at this time.
0 commit comments