Get the underlying local error, if any. # Returns `Some(&LocalApplyError)` if this is a `Local` variant.
(&self)
| 580 | /// |
| 581 | /// `Some(&LocalApplyError)` if this is a `Local` variant. |
| 582 | pub fn as_local(&self) -> Option<&LocalApplyError> { |
| 583 | match self { |
| 584 | Self::Local(e) => Some(e), |
| 585 | _ => None, |
| 586 | } |
| 587 | } |
| 588 | |
| 589 | /// Check if this error is recoverable. |
| 590 | /// |
no outgoing calls