public function VersionNotFoundException::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/jsonapi/src/Revisions/VersionNotFoundException.php \Drupal\jsonapi\Revisions\VersionNotFoundException::__construct()
- 10 core/modules/jsonapi/src/Revisions/VersionNotFoundException.php \Drupal\jsonapi\Revisions\VersionNotFoundException::__construct()
File
- core/
modules/ jsonapi/ 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\RevisionsCode
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);
}