mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
Add JsonRpcError to error.rs
This commit is contained in:
@@ -173,6 +173,9 @@ pub enum Error {
|
||||
#[error("Raft error: {0}")]
|
||||
RaftError(String),
|
||||
|
||||
#[error("JSON-RPC error: {0}")]
|
||||
JsonRpcError(String),
|
||||
|
||||
// ===============
|
||||
// Database errors
|
||||
// ===============
|
||||
|
||||
Reference in New Issue
Block a user