public function printTrace() { $header = Html::tag('div', $this->exception . ' at ' . Hash::get($_SERVER, 'REQUEST_URI'), ['class' => 'head message']); $message = Html::tag('h2', "Record not found.", ['class' => 'message']); $debug = Html::tag('div', $this->fullCallerString, ['class' => 'debug']); echo Html::tag('div', $header . $message . $debug, ['class' => 'exception']); }
public function printTrace() { $header = Html::tag('div', $this->exception . ' at ' . Hash::get($_SERVER, 'REQUEST_URI'), ['class' => 'head message']); $message = Html::tag('h2', "'{$this->calledWithArgs}' not a valid argument for '{$this->methodWhoCall}'", ['class' => 'message']); $debug = Html::tag('div', $this->fullCallerString, ['class' => 'debug']); echo Html::tag('div', $header . $message . $debug, ['class' => 'exception']); }