StageException.php

Namespace

Drupal\package_manager\Exception

File

core/modules/package_manager/src/Exception/StageException.php

View source
<?php

declare (strict_types=1);
namespace Drupal\package_manager\Exception;

use Drupal\package_manager\StageBase;

/**
 * Base class for all exceptions related to stage operations.
 *
 * Should not be thrown by external code.
 */
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);
    }

}

Classes

Title Deprecated Summary
StageException Base class for all exceptions related to stage operations.

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