More custom error rename (#9227)

automerge
This commit is contained in:
Jack May
2020-04-01 11:13:31 -07:00
committed by GitHub
parent 492b7d5ef9
commit 9aab0b9388
3 changed files with 7 additions and 7 deletions

View File

@ -202,7 +202,7 @@ pub enum SignerError {
TransactionError(#[from] TransactionError),
#[error("custom error: {0}")]
CustomError(String),
Custom(String),
// Presigner-specific Errors
#[error("presigner error")]
@ -210,7 +210,7 @@ pub enum SignerError {
// Remote Keypair-specific Errors
#[error("connection error: {0}")]
ConnectionError(String),
Connection(String),
#[error("invalid input: {0}")]
InvalidInput(String),