plotters_iced/
error.rs

1// plotters-iced
2//
3// Iced backend for Plotters
4// Copyright: 2022, Joylei <leingliu@gmail.com>
5// License: MIT
6
7use std::error::Error as StdError;
8use std::fmt;
9
10#[derive(Debug)]
11/// Indicates that some error occurred within the Iced backend
12pub enum Error {}
13
14impl fmt::Display for Error {
15    fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
16        write!(fmt, "{self:?}")
17    }
18}
19
20impl StdError for Error {}