5 * @package akeebaengine
6 * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
7 * @license GNU General Public License version 3, or later
10 namespace Akeeba\S3\Exception;
12 // Protection against direct access
13 defined('AKEEBAENGINE') || die();
18 * Invalid Amazon S3 endpoint
20 class InvalidEndpoint extends ConfigurationError
22 public function __construct(string $message = "", int $code = 0, Exception $previous = null)
26 $message = 'The custom S3 endpoint provided is invalid. Do NOT include the protocol (http:// or https://). Valid examples are s3.example.com and www.example.com/s3Api';
29 parent::__construct($message, $code, $previous);