Skip to main content

pebble/rendering/
errors.rs

1/// Errors that can occur when acquiring a frame from the backend.
2#[derive(Debug)]
3pub enum AcquireError {
4    /// The acquire failed temporarily. The frame is skipped but rendering can
5    /// continue on the next tick (e.g. the swapchain is out of date).
6    Transient,
7    /// An unrecoverable error occurred. Includes a human-readable description.
8    Fatal(String),
9}