Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.145.80.247
<?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;
}
}
|