Extends ActiveModel::Errors with errors by type.