protected function onItemNotFound($id) { throw new Exception(ErrorCodes::DATA_NOT_FOUND, 'Item was not found', ['id' => $id]); }