uefi_graphics2/
error.rs

1use thiserror::Error;
2
3#[derive(Error, Debug, Eq, PartialEq, Copy, Clone)]
4pub enum UefiDisplayError {
5    #[error("Unsupported Color Format")]
6    UnsupportedFormat,
7    #[error("Invalid Resolution")]
8    InvalidResolution,
9    #[error("Out of Bounds")]
10    OutOfBounds,
11}