1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright The pipewire-rs Contributors.
// SPDX-License-Identifier: MIT

use thiserror::Error;
#[derive(Error, Debug)]
pub enum Error {
    #[error("Creation failed")]
    CreationFailed,
    #[error("No memory")]
    NoMemory,
    #[error("Wrong proxy type")]
    WrongProxyType,
    #[error(transparent)]
    SpaError(#[from] spa::utils::result::Error),
}