PluginProbe
Media Cloud Sync / 1.3.11
Media Cloud Sync v1.3.11
1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 All 34 releases
media-cloud-sync / includes / sdk / s3 / Aws / Exception / EventStreamDataException.php

EventStreamDataException.php in Media Cloud Sync 1.3.11, at includes/sdk/s3/Aws/Exception/EventStreamDataException.php

37 lines 800 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Dudlewebs\WPMCS\s3\Aws\Exception;
4
5 /**
6 * Represents an exception that was supplied via an EventStream.
7 */
8 class EventStreamDataException extends \RuntimeException
9 {
10 private $errorCode;
11 private $errorMessage;
12 public function __construct($code, $message)
13 {
14 $this->errorCode = $code;
15 $this->errorMessage = $message;
16 parent::__construct($message);
17 }
18 /**
19 * Get the AWS error code.
20 *
21 * @return string|null Returns null if no response was received
22 */
23 public function getAwsErrorCode()
24 {
25 return $this->errorCode;
26 }
27 /**
28 * Get the concise error message if any.
29 *
30 * @return string|null
31 */
32 public function getAwsErrorMessage()
33 {
34 return $this->errorMessage;
35 }
36 }
37