Function jsonrpc::error::standard_error
source · pub fn standard_error(
code: StandardError,
data: Option<Box<RawValue>>
) -> RpcError
Expand description
Create a standard error responses
pub fn standard_error(
code: StandardError,
data: Option<Box<RawValue>>
) -> RpcError
Create a standard error responses