Etymology
Today it means: In an errant manner. Full definition →
From errant + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.