public function printException(array $exception, $padding = ' ') { $text = ExceptionHelper::toString($exception, $padding); $this->writeln('<fg=red>' . $text . '</fg=red>'); $this->writeln(""); return $this; }
public function exception(Exception $exception) { $this->client->send(['type' => 'exception', 'planToken' => $this->planToken, 'exception' => ExceptionHelper::toArray($exception)]); }
public function addException(Exception $exception) { $this->exceptions[] = ExceptionHelper::toArray($exception); return $this; }