<?php

namespace Velis\Model\RelationLoader\Exceptions;

use Velis\Exception;

class CannotLoadPivotRelatedModelsException extends Exception
{
    public function __construct($relatedModel, $code = null, $previous = null, $debugInfo = null)
    {
        $message = "It is not possible to fetch entries of model `$relatedModel`.";

        parent::__construct($message, $code, $previous, $debugInfo);
    }
}
