src/Soluble/Normalist/Synthetic/Table.php
public function deleteOrFail($id)
    {
        $deleted = $this->delete($id);
        if ($deleted == 0) {
            throw new Exception\NotFoundException(__METHOD__ . ": cannot delete record '$id' in table '$this->table'");
        }
        return $this;
    }
public function deleteOrFail($id)
    {
        $deleted = $this->delete($id);
        if ($deleted == 0) {
            throw new Exception\NotFoundException(__METHOD__ . ": cannot delete record '$id' in table '$this->table'");
        }
        return $this;
    }
Delete a record or throw an Exception

@param integer|string|array $id primary key value

@throws Exception\InvalidArgumentException if $id is not valid
@throws Exception\NotFoundException if record does not exists

@return Table