ERR_BAD_STATE

Constant ERR_BAD_STATE 

Source
pub const ERR_BAD_STATE: i32 = -20;
Expand description

The operation failed because the current state of the object does not allow it, or a precondition of the operation is not satisfied.