mirror of
https://github.com/sile/hls_m3u8.git
synced 2024-06-02 21:49:35 +00:00
14 lines
380 B
Rust
14 lines
380 B
Rust
use trackable::error::{ErrorKind as TrackableErrorKind, TrackableError};
|
|
|
|
/// This crate specific `Error` type.
|
|
#[derive(Debug, Clone, TrackableError)]
|
|
pub struct Error(TrackableError<ErrorKind>);
|
|
|
|
/// Possible error kinds.
|
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
|
#[allow(missing_docs)]
|
|
pub enum ErrorKind {
|
|
InvalidInput,
|
|
}
|
|
impl TrackableErrorKind for ErrorKind {}
|