Meaning of the word errant in English

What does errant mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

errant

US /ˈer.ənt/
UK /ˈer.ənt/

Adjective

straying from the proper course or standards; wandering

Example:
The errant knight was known for his unpredictable quests.
An errant ball flew over the fence and into the neighbor's yard.