Luke 12:42-48, which happened to be last Sunday’s Gospel, covers this:
42 And the Lord replied, “Who, then, is the faithful and prudent steward whom the master will put in charge of his servants to distribute [the] food allowance at the proper time?
43 Blessed is that servant whom his master on arrival finds doing so.
44 Truly, I say to you, he will put him in charge of all his property.
45 But if that servant says to himself, ‘My master is delayed in coming,’ and begins to beat the menservants and the maidservants, to eat and drink and get drunk,
46 then that servant’s master will come on an unexpected day and at an unknown hour and will punish him severely and assign him a place with the unfaithful.
47 That servant who knew his master’s will but did not make preparations nor act in accord with his will shall be beaten severely;
48 and the servant who was ignorant of his master’s will but acted in a way deserving of a severe beating shall be beaten only lightly. Much will be required of the person entrusted with much, and still more will be demanded of the person entrusted with more.
So if you were never baptized Catholic nor brought up Catholic, and were instead raised in some other faith tradition that you were taught was the right one, then you are like the servant who is ignorant, because you were not raised or otherwise taught to believe Catholicism is the right way.
Likewise if you are baptized Catholic but no one ever teaches you the faith or takes it beyond just baptism, you’re probably still pretty ignorant.
However, if you were not only baptized Catholic but raised Catholic and practiced as a Catholic and then voluntarily decided to leave, you’re more like the servant who knew or should have known his master’s will, that will being to have people follow Catholicism as God’s one holy and apostolic Church. So you are indeed more “in error” because you had a chance to take the right path and you rejected it.