Negative assertions on specific errors was deprecated.