Skip to content

Commit 0df69a9

Browse files
authored
Sort exceptions alphabetically (#1875)
1 parent 730c0fd commit 0df69a9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- Sort exception alphabetically.
8+
59
## 1.3.0
610

711
### Added

src/ElastiCacheClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ class ElastiCacheClient extends AbstractApi
4848
* }|DescribeCacheClustersMessage $input
4949
*
5050
* @throws CacheClusterNotFoundFaultException
51-
* @throws InvalidParameterValueException
5251
* @throws InvalidParameterCombinationException
52+
* @throws InvalidParameterValueException
5353
*/
5454
public function describeCacheClusters($input = []): CacheClusterMessage
5555
{
5656
$input = DescribeCacheClustersMessage::create($input);
5757
$response = $this->getResponse($input->request(), new RequestContext(['operation' => 'DescribeCacheClusters', 'region' => $input->getRegion(), 'exceptionMapping' => [
5858
'CacheClusterNotFound' => CacheClusterNotFoundFaultException::class,
59-
'InvalidParameterValue' => InvalidParameterValueException::class,
6059
'InvalidParameterCombination' => InvalidParameterCombinationException::class,
60+
'InvalidParameterValue' => InvalidParameterValueException::class,
6161
]]));
6262

6363
return new CacheClusterMessage($response, $this, $input);

0 commit comments

Comments
 (0)