Lines Matching refs:INVALID_ARGUMENT
279 Err(Error::Km(ErrorCode::INVALID_ARGUMENT)) in create_operation()
283 _ => Err(Error::Km(ErrorCode::INVALID_ARGUMENT)) in create_operation()
473 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in generate_key()
590 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()
615 .ok_or(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()
623 v => Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()
655 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)).context(format!( in import_wrapped_key()
666 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)).context( in import_wrapped_key()
869 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)).context(concat!( in convert_storage_key_to_ephemeral()
877 .ok_or(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in convert_storage_key_to_ephemeral()
935 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in delete_key()
942 .ok_or(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in delete_key()