Adds the error mode attribute setting code that was recently added in 1.1.
Merge pull request #99 from robotpony/db-tweak

Adds the error mode attribute setting code that was recently added in 1....