S3/Minio storage controller Support

This commit is contained in:
Chris
2020-01-05 03:11:41 +01:00
parent 87fa55eae8
commit f863045fcf
1388 changed files with 75681 additions and 2 deletions

View File

@@ -0,0 +1,38 @@
<?php
namespace Aws\Exception;
/**
* Represents an exception that was supplied via an EventStream.
*/
class EventStreamDataException extends \RuntimeException
{
private $errorCode;
private $errorMessage;
public function __construct($code, $message)
{
$this->errorCode = $code;
$this->errorMessage = $message;
parent::__construct($message);
}
/**
* Get the AWS error code.
*
* @return string|null Returns null if no response was received
*/
public function getAwsErrorCode()
{
return $this->errorCode;
}
/**
* Get the concise error message if any.
*
* @return string|null
*/
public function getAwsErrorMessage()
{
return $this->errorMessage;
}
}