configurable error level
Merge pull request #194 from artyfarty/master

Configurable error_level