alter error macro in prep for custom error handlers
add state names to errors for future use
merge develop
add tests for error states
Merge branch 'develop' into error_handler
Merge branch 'develop' into error_handler
Merge branch 'develop' into error_handler
Merge branch 'develop' into error_handler
Merge branch 'develop' into error_handler
add error_handler option and tests
fold maybe_bom and definitely_bom into start function in decoder
remove unused macros
fix formatting of Configs in function heads