private function BaseApiAbstract::processErrors in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 api-sdk-php/src/BaseApiAbstract.php \Smartling\BaseApiAbstract::processErrors()
- 8.2 vendor/smartling/api-sdk-php/src/BaseApiAbstract.php \Smartling\BaseApiAbstract::processErrors()
- 8.3 vendor/smartling/api-sdk-php/src/BaseApiAbstract.php \Smartling\BaseApiAbstract::processErrors()
Parameters
Response $response:
Throws
1 call to BaseApiAbstract::processErrors()
- BaseApiAbstract::sendRequest in vendor/
smartling/ api-sdk-php/ src/ BaseApiAbstract.php
File
- vendor/
smartling/ api-sdk-php/ src/ BaseApiAbstract.php, line 378
Class
- BaseApiAbstract
- Class BaseApiAbstract
Namespace
SmartlingCode
private function processErrors(Response $response) {
// Catch all errors from Smartling and throw appropriate exception.
if (400 <= (int) $response
->getStatusCode()) {
$this
->processError($response);
}
}