fix: make error enums exhaustive
This commit is contained in:
parent
9d385e8e9b
commit
687ddec50d
1 changed files with 0 additions and 2 deletions
|
|
@ -6,7 +6,6 @@ use reqwest::StatusCode;
|
|||
|
||||
/// Error type for the RustyPipe library
|
||||
#[derive(thiserror::Error, Debug)]
|
||||
#[non_exhaustive]
|
||||
pub enum Error {
|
||||
/// Error extracting content from YouTube
|
||||
#[error("extraction error: {0}")]
|
||||
|
|
@ -24,7 +23,6 @@ pub enum Error {
|
|||
|
||||
/// Error extracting content from YouTube
|
||||
#[derive(thiserror::Error, Debug)]
|
||||
#[non_exhaustive]
|
||||
pub enum ExtractionError {
|
||||
/// Video cannot be extracted with RustyPipe
|
||||
///
|
||||
|
|
|
|||
Reference in a new issue