Skip to content

Commit cc1bbb7

Browse files
committed
doc: ExtractError
Signed-off-by: ekexium <[email protected]>
1 parent 212dfd1 commit cc1bbb7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/request/plan.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,11 @@ impl<P: Plan> Clone for ExtractError<P> {
261261
}
262262
}
263263

264+
/// When executed, the plan extracts errors from its inner plan, and
265+
/// returns an `Err` wrapping the error.
266+
///
267+
/// The errors come from two places: `Err` from inner plans, and `Ok(response)`
268+
/// where `response` contains unresolved errors.
264269
#[async_trait]
265270
impl<P: Plan> Plan for ExtractError<P>
266271
where

0 commit comments

Comments
 (0)