You are here

public function JSErrorItem::__toString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/gastonjs/src/Exception/JSErrorItem.php \Zumba\GastonJS\Exception\JSErrorItem::__toString()

String representation of the class

Return value

string

File

vendor/jcalderonzumba/gastonjs/src/Exception/JSErrorItem.php, line 28

Class

JSErrorItem
Class JSErrorItem @package Zumba\GastonJS\Exception

Namespace

Zumba\GastonJS\Exception

Code

public function __toString() {
  return sprintf("%s\n%s", $this->message, $this->stack);
}