<filename>vendor/khill/lavacharts/src/Exceptions/DataTableNotFound.php<?php

namespace Khill\Lavacharts\Exceptions;

use Khill\Lavacharts\Charts\Chart;

class DataTableNotFound extends LavaException
{
    public function __construct(Chart $chart)
    {
        $message = $chart->getType() . '(' . $chart->getLabel() . ') has no DataTable.';

        parent::__construct($message);
    }
}
