1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-11-15 20:01:01 +00:00
hls_m3u8/src/error.rs

14 lines
380 B
Rust
Raw Normal View History

2018-02-11 06:10:52 +00:00
use trackable::error::{ErrorKind as TrackableErrorKind, TrackableError};
2018-02-14 03:00:41 +00:00
/// This crate specific `Error` type.
2018-10-04 13:10:53 +00:00
#[derive(Debug, Clone, TrackableError)]
2018-02-11 06:10:52 +00:00
pub struct Error(TrackableError<ErrorKind>);
2018-02-14 03:00:41 +00:00
/// Possible error kinds.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[allow(missing_docs)]
2018-02-11 06:10:52 +00:00
pub enum ErrorKind {
InvalidInput,
}
impl TrackableErrorKind for ErrorKind {}