for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author @jenschude <[email protected]>
*/
namespace Commercetools\Core\Error;
* Base exception for all responses with http status code 4xx
* @package Commercetools\Core\Error
class ClientErrorException extends ApiServiceException
{
public function getErrorContainer()
$errors = parent::getErrors();
return ErrorContainer::fromArray($errors);
}