public function BynderException::__construct in Bynder 8.3
Same name and namespace in other branches
- 8 src/Exception/BynderException.php \Drupal\bynder\Exception\BynderException::__construct()
- 8.2 src/Exception/BynderException.php \Drupal\bynder\Exception\BynderException::__construct()
- 4.0.x src/Exception/BynderException.php \Drupal\bynder\Exception\BynderException::__construct()
Constructs BundleNotExistException.
9 calls to BynderException::__construct()
- BrandNotSetException::__construct in src/
Exception/ BrandNotSetException.php - Constructs BrandNotSetException.
- BundleNotBynderException::__construct in src/
Exception/ BundleNotBynderException.php - Constructs BundleNotBynderException.
- BundleNotExistException::__construct in src/
Exception/ BundleNotExistException.php - Constructs BundleNotExistException.
- TagSearchException::__construct in src/
Exception/ TagSearchException.php - Constructs TagSearchException.
- UnableToAddUsageException::__construct in modules/
bynder_usage/ src/ Exception/ UnableToAddUsageException.php - Constructs UnableToAddUsageException.
9 methods override BynderException::__construct()
- BrandNotSetException::__construct in src/
Exception/ BrandNotSetException.php - Constructs BrandNotSetException.
- BundleNotBynderException::__construct in src/
Exception/ BundleNotBynderException.php - Constructs BundleNotBynderException.
- BundleNotExistException::__construct in src/
Exception/ BundleNotExistException.php - Constructs BundleNotExistException.
- TagSearchException::__construct in src/
Exception/ TagSearchException.php - Constructs TagSearchException.
- UnableToAddUsageException::__construct in modules/
bynder_usage/ src/ Exception/ UnableToAddUsageException.php - Constructs UnableToAddUsageException.
File
- src/
Exception/ BynderException.php, line 47
Class
- BynderException
- Base exception class for Bynder.
Namespace
Drupal\bynder\ExceptionCode
public function __construct($message, $admin_message = NULL, $log_message = NULL, $log_message_args = []) {
$this->adminMessage = $admin_message ?: $message;
$this->logMessage = $log_message ?: $this->adminMessage;
$this->logMessageArgs = $log_message_args;
parent::__construct($message);
}