Composer update
* updated Laravel to v5.6.38 * Added laravel tinker in dev dependencies
This commit is contained in:

committed by
Manish Verma

parent
be4b1231b6
commit
6742e13d81
38
vendor/aws/aws-sdk-php/src/Exception/EventStreamDataException.php
vendored
Normal file
38
vendor/aws/aws-sdk-php/src/Exception/EventStreamDataException.php
vendored
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user