What does "cantrap" mean?

Cantrap: A charm; an incantation; a shell; a trick; adroit mischief. [Written also cantraip.] [Scot.]

Sources