to make a mistake or be incorrect
Do not err by choosing friends unwisely.
a person who is entitled by law or by the terms of a will to inherit the estate of another
she was heir to the throne