function protected function ProviderBase::addCdnException

8.x-3.x ProviderBase.php protected ProviderBase::addCdnException(\Throwable $exception)

Adds a new CDN Provider exception.

Parameters

\Throwable $exception: The exception message.

Class

ProviderBase
CDN Provider base class.

Namespace

Drupal\bootstrap\Plugin\Provider

Source src/Plugin/Provider/ProviderBase.php (line 86)

protected function addCdnException(\Throwable $exception) {
  $this->cdnExceptions[] = new ProviderException($this, $exception->getMessage(), $exception->getCode(), $exception);
}