private function BaseApiAbstract::processErrors in TMGMT Translator Smartling 8.2
Same name in this branch
- 8.2 api-sdk-php/src/BaseApiAbstract.php \Smartling\BaseApiAbstract::processErrors()
- 8.2 vendor/smartling/api-sdk-php/src/BaseApiAbstract.php \Smartling\BaseApiAbstract::processErrors()
Same name and namespace in other branches
- 8.4 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
2 calls to BaseApiAbstract::processErrors()
- BaseApiAbstract::sendRequest in api-sdk-php/
src/ BaseApiAbstract.php - BaseApiAbstract::sendRequest in vendor/
smartling/ api-sdk-php/ src/ BaseApiAbstract.php
File
- vendor/
smartling/ api-sdk-php/ src/ BaseApiAbstract.php, line 357
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);
}
}