MagicCallNotFound.php

<?php

namespace Lia\Exception;


class MagicCallNotFound extends Base {

    public function __construct($method, $message){
        $trace = $this->getTrace();
        $class = $trace[0]['class'];

        $message = "Method '{$method}' does not exist on '{$class}' {$message}\n";

        parent::__construct($message);
    }
    
}