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; } }