Get the underlying local error, if any. # Returns `Some(&LocalApplyError)` if this is a `Local` variant.
(&self)
| 573 | /// |
| 574 | /// `Some(&LocalApplyError)` if this is a `Local` variant. |
| 575 | pub fn as_local(&self) -> Option<&LocalApplyError> { |
| 576 | match self { |
| 577 | Self::Local(e) => Some(e), |
| 578 | _ => None, |
| 579 | } |
| 580 | } |
| 581 | |
| 582 | /// Check if this error is recoverable. |
| 583 | /// |
no outgoing calls