Constant zebra_rpc::constants::INVALID_PARAMETERS_ERROR_CODE
source ยท pub const INVALID_PARAMETERS_ERROR_CODE: ErrorCode;
Expand description
The RPC error code used by zcashd
for incorrect RPC parameters.
[jsonrpc_core
] uses these codes:
https://github.com/paritytech/jsonrpc/blob/609d7a6cc160742d035510fa89fb424ccf077660/core/src/types/error.rs#L25-L36
node-stratum-pool
mining pool library expects error code -1
to detect available RPC methods:
https://github.com/s-nomp/node-stratum-pool/blob/d86ae73f8ff968d9355bb61aac05e0ebef36ccb5/lib/pool.js#L459