ps_buffer/
error.rs

1use ps_alloc::{AllocationError, DeallocationError};
2use thiserror::Error;
3
4#[must_use]
5#[derive(Debug, Error, PartialEq, Eq, Clone)]
6pub enum BufferError {
7    #[error(transparent)]
8    AllocationError(#[from] AllocationError),
9    #[error(transparent)]
10    DeallocationError(#[from] DeallocationError),
11}