1#[derive(Debug)]
3pub struct Error;
4
5impl core::fmt::Display for Error {
6 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
7 core::fmt::Debug::fmt(self, f)
8 }
9}
10
11#[cfg(feature = "std")]
12impl std::error::Error for Error {}