If the adapter errors on a delete, the record should transition to the error state

Previously it was not possible to detect an error response from the adapter on the record and act accordingly.