allow public access to add_error function
Merge pull request #219 from sumobi/master

allow public access to add_error function