forked from friendica/friendica-addons
Hypolite Petovan
3e74af9775
- Address https://github.com/friendica/friendica/issues/12011#issuecomment-1854681792
33 lines
648 B
PHP
33 lines
648 B
PHP
<?php
|
|
/**
|
|
* Akeeba Engine
|
|
*
|
|
* @package akeebaengine
|
|
* @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
|
|
* @license GNU General Public License version 3, or later
|
|
*/
|
|
|
|
namespace Akeeba\S3\Exception;
|
|
|
|
// Protection against direct access
|
|
defined('AKEEBAENGINE') || die();
|
|
|
|
use Exception;
|
|
|
|
/**
|
|
* Invalid Amazon S3 region
|
|
*/
|
|
class InvalidRegion extends ConfigurationError
|
|
{
|
|
public function __construct(string $message = "", int $code = 0, Exception $previous = null)
|
|
{
|
|
if (empty($message))
|
|
{
|
|
$message = 'The Amazon S3 region provided is invalid.';
|
|
}
|
|
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
|
|
}
|