class StageException

Base class for all exceptions related to stage operations.

Should not be thrown by external code.

Hierarchy

  • class \Drupal\package_manager\Exception\StageException extends \Drupal\package_manager\Exception\RuntimeException

Expanded class hierarchy of StageException

6 files declare their use of StageException
LockFileValidatorTest.php in core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php
StageBase.php in core/modules/package_manager/src/StageBase.php
StageBaseTest.php in core/modules/package_manager/tests/src/Kernel/StageBaseTest.php
StageCommitExceptionTest.php in core/modules/package_manager/tests/src/Kernel/StageCommitExceptionTest.php
StageConflictTest.php in core/modules/package_manager/tests/src/Kernel/StageConflictTest.php

... See full list

File

core/modules/package_manager/src/Exception/StageException.php, line 14

Namespace

Drupal\package_manager\Exception
View source
class StageException extends \RuntimeException {
    
    /**
     * Constructs a StageException object.
     *
     * @param \Drupal\package_manager\StageBase $stage
     *   The stage.
     * @param mixed ...$arguments
     *   Additional arguments to pass to the parent constructor.
     */
    public function __construct(StageBase $stage, ...$arguments) {
        parent::__construct(...$arguments);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overrides
StageException::__construct public function Constructs a StageException object. 1

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.