Add JsonRpcError to error.rs

This commit is contained in:
parazyd
2022-04-23 17:56:10 +02:00
parent e5f1df1144
commit 3a9ebdab23

View File

@@ -173,6 +173,9 @@ pub enum Error {
#[error("Raft error: {0}")]
RaftError(String),
#[error("JSON-RPC error: {0}")]
JsonRpcError(String),
// ===============
// Database errors
// ===============