Skip to content

Commit

Permalink
fix!: Error module should be public - resolves #32 (#33).
Browse files Browse the repository at this point in the history
  • Loading branch information
nick42d authored Jun 12, 2024
1 parent 87e109f commit 5bccd73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ytmapi-rs/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ pub struct Error {
}

/// The kind of the error.
/// This list may grow over time, and it's not recommended to exhaustively match on it.
#[non_exhaustive]
pub enum ErrorKind {
/// General web error.
// TODO: improve and avoid leaking reqwest::Error
Expand Down
2 changes: 1 addition & 1 deletion ytmapi-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ mod nav_consts;
// Consider if pub is correct for this
pub mod common;
mod crawler;
mod error;
pub mod error;
pub mod parse;
mod process;
pub mod query;
Expand Down

0 comments on commit 5bccd73

Please sign in to comment.