(&self)
| 494 | /// Returns `true` if this is a content-related error. |
| 495 | #[inline] |
| 496 | pub fn is_content_error(&self) -> bool { |
| 497 | matches!( |
| 498 | self, |
| 499 | ApplyError::ContentOutOfBounds { .. } | ApplyError::InvalidContent { .. } |
| 500 | ) |
| 501 | } |
| 502 | |
| 503 | /// Returns `true` if this is an internal/bug error. |
| 504 | #[inline] |
no outgoing calls