mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rewrite all error messages for consistency (#5176)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
This commit is contained in:
@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user