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

Breadcrumb

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

function Throwable::previous

Throws

NoPreviousThrowableException

File

vendor/phpunit/phpunit/src/Event/Value/Throwable.php, line 95

Class

Throwable
@psalm-immutable

Namespace

PHPUnit\Event\Code

Code

public function previous() : self {
    if ($this->previous === null) {
        throw new NoPreviousThrowableException();
    }
    return $this->previous;
}
RSS feed
Powered by Drupal