]> git.mxchange.org Git - friendica-addons.git/blob - s3_storage/vendor/akeeba/s3/src/Exception/InvalidSecretKey.php
af58e5d9e085c02874c02c1709e6658752d86adb
[friendica-addons.git] / s3_storage / vendor / akeeba / s3 / src / Exception / InvalidSecretKey.php
1 <?php
2 /**
3  * Akeeba Engine
4  *
5  * @package   akeebaengine
6  * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
7  * @license   GNU General Public License version 3, or later
8  */
9
10 namespace Akeeba\S3\Exception;
11
12 // Protection against direct access
13 defined('AKEEBAENGINE') || die();
14
15 use Exception;
16
17 /**
18  * Invalid Amazon S3 secret key
19  */
20 class InvalidSecretKey extends ConfigurationError
21 {
22         public function __construct(string $message = "", int $code = 0, Exception $previous = null)
23         {
24                 if (empty($message))
25                 {
26                         $message = 'The Amazon S3 Secret Key provided is invalid';
27                 }
28
29                 parent::__construct($message, $code, $previous);
30         }
31
32 }