class JSErrorItem in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/jcalderonzumba/gastonjs/src/Exception/JSErrorItem.php \Zumba\GastonJS\Exception\JSErrorItem
Class JSErrorItem @package Zumba\GastonJS\Exception
Hierarchy
- class \Zumba\GastonJS\Exception\JSErrorItem
Expanded class hierarchy of JSErrorItem
File
- vendor/
jcalderonzumba/ gastonjs/ src/ Exception/ JSErrorItem.php, line 9
Namespace
Zumba\GastonJS\ExceptionView source
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);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
JSErrorItem:: |
protected | property | @var mixed | |
JSErrorItem:: |
protected | property | @var mixed | |
JSErrorItem:: |
public | function | ||
JSErrorItem:: |
public | function | String representation of the class |