Skip to content

Commit 1dd294f

Browse files
authored
Sort exceptions alphabetically (#1875)
1 parent 8f9976a commit 1dd294f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Changed
66

7+
- Sort exception alphabetically.
78
- AWS enhancement: Documentation updates.
89

910
## 1.9.0

src/EcrClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ class EcrClient extends AbstractApi
3434
* '@region'?: string|null,
3535
* }|GetAuthorizationTokenRequest $input
3636
*
37-
* @throws ServerException
3837
* @throws InvalidParameterException
38+
* @throws ServerException
3939
*/
4040
public function getAuthorizationToken($input = []): GetAuthorizationTokenResponse
4141
{
4242
$input = GetAuthorizationTokenRequest::create($input);
4343
$response = $this->getResponse($input->request(), new RequestContext(['operation' => 'GetAuthorizationToken', 'region' => $input->getRegion(), 'exceptionMapping' => [
44-
'ServerException' => ServerException::class,
4544
'InvalidParameterException' => InvalidParameterException::class,
45+
'ServerException' => ServerException::class,
4646
]]));
4747

4848
return new GetAuthorizationTokenResponse($response);

0 commit comments

Comments
 (0)