1use std::fmt;
2
3pub(crate) type Error = Box<dyn std::error::Error + Send + Sync>;
4
5#[derive(Debug)]
6pub enum Never {}
7
8impl fmt::Display for Never {
9 fn fmt(&self, _: &mut fmt::Formatter<'_>) -> fmt::Result {
10 match *self {}
11 }
12}
13
14impl std::error::Error for Never {}