Skip to content

Commit 0cc0793

Browse files
committed
inboxes > fix error msg
1 parent 8a143e7 commit 0cc0793

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Exception/HttpClientException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class HttpClientException extends HttpException
1717
400 => 'Bad request. Fix errors listed in response before retrying.',
1818
401 => 'Unauthorized. Make sure you are sending correct credentials with the request before retrying.',
1919
403 => 'Forbidden. Make sure domain verification process is completed or check your permissions.',
20-
404 => 'The requested entity does not found.',
20+
404 => 'The requested entity has not been found.',
2121
];
2222

2323
public static function createFromResponse(ResponseInterface $response): HttpClientException

tests/Api/General/UserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function test404InvalidRemove(): void
163163

164164
$this->expectException(HttpClientException::class);
165165
$this->expectExceptionMessage(
166-
'The requested entity does not found. Errors: Not Found.'
166+
'The requested entity has not been found. Errors: Not Found.'
167167
);
168168

169169
$this->user->delete(self::FAKE_ACCOUNT_ID, self::FAKE_ACCOUNT_ACCESS_ID);

0 commit comments

Comments
 (0)