Lines Matching refs:Err
25 Err(e) => { in boolean_result_helper()
46 Err(Error::BadParameters) => StatusCode::UciStatusInvalidParam, in result_to_status_code()
47 Err(Error::MaxSessionsExceeded) => StatusCode::UciStatusMaxSessionsExceeded, in result_to_status_code()
48 Err(Error::CommandRetry) => StatusCode::UciStatusCommandRetry, in result_to_status_code()
49 Err(Error::RegulationUwbOff) => StatusCode::UciStatusRegulationUwbOff, in result_to_status_code()
51 Err(_) => StatusCode::UciStatusFailed, in result_to_status_code()
75 let result: Result<i32> = Err(Error::BadParameters); in test_boolean_result_helper()
86 byte_result_helper::<i8>(Err(Error::BadParameters), "Test"), in test_byte_result_helper()
90 byte_result_helper::<i8>(Err(Error::MaxSessionsExceeded), "Test"), in test_byte_result_helper()
94 byte_result_helper::<i8>(Err(Error::CommandRetry), "Test"), in test_byte_result_helper()
98 byte_result_helper::<i8>(Err(Error::RegulationUwbOff), "Test"), in test_byte_result_helper()
104 byte_result_helper::<i8>(Err(Error::DuplicatedSessionId), "Test"), in test_byte_result_helper()
115 let result: Result<i32> = Err(Error::BadParameters); in test_option_result_helper()