Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AggregateException.php

function AggregateException::append

Return value

void

File

vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/AggregateException.php, line 30

Class

AggregateException

Namespace

Prophecy\Exception\Prediction

Code

public function append(PredictionException $exception) {
    $message = $exception->getMessage();
    $message = strtr($message, array(
        "\n" => "\n  ",
    )) . "\n";
    $message = empty($this->exceptions) ? $message : "\n" . $message;
    $this->message = rtrim($this->message . $message);
    $this->exceptions[] = $exception;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal