Skip to main content

CONFIG_PATH_UNSET_CODE

Constant CONFIG_PATH_UNSET_CODE 

Source
pub const CONFIG_PATH_UNSET_CODE: i32 = -32_003;
Expand description

JSON-RPC error code: the node was started without a config file path, so admin_v1_reload has nothing to re-read. Distinct from RELOAD_ERROR_CODE so an operator script can tell “this node can’t reload, ever, until it’s restarted with --config <path>” from “this node tried and failed”.