|
@@ -86,8 +86,10 @@ pub enum Error {
|
|
|
InvalidParamName,
|
|
InvalidParamName,
|
|
|
#[error("Invalid param type")]
|
|
#[error("Invalid param type")]
|
|
|
InvalidParamType,
|
|
InvalidParamType,
|
|
|
- // #[error("Missing params")]
|
|
|
|
|
- // MissingParams,
|
|
|
|
|
|
|
+
|
|
|
|
|
+ #[error("Missing params")]
|
|
|
|
|
+ MissingParams,
|
|
|
|
|
+
|
|
|
// #[error("Contract is poorly defined")]
|
|
// #[error("Contract is poorly defined")]
|
|
|
// BadContract,
|
|
// BadContract,
|
|
|
#[cfg(feature = "crypto")]
|
|
#[cfg(feature = "crypto")]
|
|
@@ -122,9 +124,9 @@ pub enum Error {
|
|
|
#[error("SlabsStore Error: `{0}`")]
|
|
#[error("SlabsStore Error: `{0}`")]
|
|
|
SlabsStore(String),
|
|
SlabsStore(String),
|
|
|
|
|
|
|
|
- // /// RPC errors
|
|
|
|
|
- // #[error("JsonRpc Error: `{0}`")]
|
|
|
|
|
- // JsonRpcError(String),
|
|
|
|
|
|
|
+ #[error("JsonRpc Error: `{0}`")]
|
|
|
|
|
+ JsonRpcError(String),
|
|
|
|
|
+
|
|
|
#[error("Not supported network")]
|
|
#[error("Not supported network")]
|
|
|
NotSupportedNetwork,
|
|
NotSupportedNetwork,
|
|
|
|
|
|