(msg: M)
| 546 | /// Creates an [`AdHocError`] variant of [`Error`] from a message. |
| 547 | #[track_caller] |
| 548 | pub fn from_message<M: Display>(msg: M) -> Self { |
| 549 | ErrorData::from_message(msg).into() |
| 550 | } |
| 551 | |
| 552 | /// Creates a [`StashedErrors`] variant of [`Error`]. |
| 553 | pub fn from_stash<M, E, L>(summary: M, errors: E, locations: L) -> Self |
nothing calls this directly
no test coverage detected