Refactor: Remove deprecated private method _error from the Role model.