Error handling for ::setIgnore<\w+>

Accepted suggestion for #6