You are here

public function VersionNotFoundException::__construct in JSON:API 8.2

File

src/Revisions/VersionNotFoundException.php, line 19

Class

VersionNotFoundException
Used when a version ID is valid, but the requested version does not exist.

Namespace

Drupal\jsonapi\Revisions

Code

public function __construct($message = NULL, $code = 0, \Exception $previous = NULL) {
  parent::__construct(!is_null($message) ? $message : 'The identified version could not be found.', $code, $previous);
}