deprecate :error_class option
Merge pull request #957 from justinfrench/deprecate-error-class

Deprecate `:error_class` option