1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
// plotters-iced
//
// Iced backend for Plotters
// Copyright: 2021, Joylei <leingliu@gmail.com>
// License: MIT

#[derive(Debug)]
/// Indicates that some error occured within the Iced backend
pub enum Error {}

impl std::fmt::Display for Error {
    fn fmt(&self, fmt: &mut std::fmt::Formatter) -> std::fmt::Result {
        write!(fmt, "{:?}", self)
    }
}

impl std::error::Error for Error {}