1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
use fluvio_future::zero_copy::SendFileError;
use std::io::Error as IoError;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum FlvSocketError {
    #[error(transparent)]
    IoError {
        #[from]
        source: IoError,
    },
    #[error("Zero-copy IO error")]
    SendFileError {
        #[from]
        source: SendFileError,
    },
}