chore: rewrite all error messages for consistency (#5176)

Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
This commit is contained in:
DaniPopes
2023-10-25 22:12:03 +02:00
committed by GitHub
parent 1c0373b322
commit e05dba69ce
73 changed files with 649 additions and 599 deletions

View File

@ -7,10 +7,10 @@ use thiserror::Error;
#[derive(Error, Debug)]
#[allow(missing_docs)]
pub enum SnapshotterError {
#[error("Inconsistent data: {0}")]
#[error("inconsistent data: {0}")]
InconsistentData(&'static str),
#[error("An interface error occurred.")]
#[error(transparent)]
Interface(#[from] RethError),
#[error(transparent)]