JSErrorItem.php in Zircon Profile 8.0
Same filename and directory in other branches
Namespace
Zumba\GastonJS\ExceptionFile
vendor/jcalderonzumba/gastonjs/src/Exception/JSErrorItem.phpView source
<?php
namespace Zumba\GastonJS\Exception;
/**
* Class JSErrorItem
* @package Zumba\GastonJS\Exception
*/
class JSErrorItem {
/** @var mixed */
protected $message;
/** @var mixed */
protected $stack;
/**
* @param $message
* @param $stack
*/
public function __construct($message, $stack) {
$this->message = $message;
$this->stack = $stack;
}
/**
* String representation of the class
* @return string
*/
public function __toString() {
return sprintf("%s\n%s", $this->message, $this->stack);
}
}
Classes
Name | Description |
---|---|
JSErrorItem | Class JSErrorItem @package Zumba\GastonJS\Exception |