pub fn panic_msg_to_error(msg: &str) -> ExchangeErrorExpand description
Parse a transpiled error payload ("[Kind] message") into a typed
ExchangeError. Falls back to the generic ExchangeError kind when
the payload doesn’t carry a leading [Kind] marker.