Struct db_up::ChangelogError
source · pub struct ChangelogError { /* private fields */ }
Expand description
An error that occurred while processing a ChangelogFile
Implementations§
source§impl ChangelogError
impl ChangelogError
pub fn emtpy_change_log() -> ChangelogError
pub fn min_version_not_found( actual_min_version: &str, requested_min_version: &str ) -> ChangelogError
pub fn max_version_not_found( actual_max_version: String, requested_max_version: String ) -> ChangelogError
pub fn io(io_error: Error) -> ChangelogError
pub fn other( other_error: Box<dyn Error + Send + Sync + 'static, Global> ) -> ChangelogError
pub fn kind(&self) -> &ChangelogErrorKind
Trait Implementations§
source§impl Debug for ChangelogError
impl Debug for ChangelogError
source§impl Display for ChangelogError
impl Display for ChangelogError
source§impl Error for ChangelogError
impl Error for ChangelogError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for ChangelogError
impl From<Error> for ChangelogError
source§fn from(io_error: Error) -> ChangelogError
fn from(io_error: Error) -> ChangelogError
Converts to this type from the input type.