mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
thiserror annotations + spelling (#3452)
* remove duplicate thiserror annotations * chore: cargo spellcheck
This commit is contained in:
committed by
GitHub
parent
b5257b2407
commit
d76560fea2
@@ -68,11 +68,11 @@ pub enum Fatal {
|
||||
|
||||
/// Errors coming from runtime::Runtime.
|
||||
#[error("Error while accessing runtime information")]
|
||||
Runtime(#[from] #[source] runtime::Fatal),
|
||||
Runtime(#[from] runtime::Fatal),
|
||||
|
||||
/// Errors coming from DisputeSender
|
||||
#[error("Error while accessing runtime information")]
|
||||
Sender(#[from] #[source] sender::Fatal),
|
||||
Sender(#[from] sender::Fatal),
|
||||
}
|
||||
|
||||
/// Non-fatal errors of this subsystem.
|
||||
@@ -80,7 +80,7 @@ pub enum Fatal {
|
||||
pub enum NonFatal {
|
||||
/// Errors coming from DisputeSender
|
||||
#[error("Error while accessing runtime information")]
|
||||
Sender(#[from] #[source] sender::NonFatal),
|
||||
Sender(#[from] sender::NonFatal),
|
||||
}
|
||||
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
||||
Reference in New Issue
Block a user