Skip to main content

USER_REJECTED

Constant USER_REJECTED 

Source
pub const USER_REJECTED: i32 = -1;
Expand description

The user rejected the operation.

Spec-defined: the 2025-11-25 sampling flow names -1 for “User rejected sampling request”. It sits outside the JSON-RPC reserved range (-32768..-32000), so it is an application-level code by design.