We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
impl Display
1 parent 120482c commit 8358abcCopy full SHA for 8358abc
primitives/src/adapter.rs
@@ -34,11 +34,11 @@ impl<AE: AdapterErrorKind> From<AE> for Error<AE> {
34
impl<AE: AdapterErrorKind> fmt::Display for Error<AE> {
35
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
36
match self {
37
- Error::Authentication(error) => write!(f, "Authentication error: {}", error),
38
- Error::Authorization(error) => write!(f, "Authorization error: {}", error),
+ Error::Authentication(error) => write!(f, "Authentication: {}", error),
+ Error::Authorization(error) => write!(f, "Authorization: {}", error),
39
Error::InvalidChannel(error) => write!(f, "{}", error),
40
- Error::Adapter(error) => write!(f, "Adapter specific error: {}", error),
41
- Error::Domain(error) => write!(f, "Domain error: {}", error),
+ Error::Adapter(error) => write!(f, "Adapter specific: {}", error),
+ Error::Domain(error) => write!(f, "Domain: {}", error),
42
Error::LockedWallet => write!(f, "You must `.unlock()` the wallet first"),
43
}
44
0 commit comments