public function addException(AbstractResponse $response, Exception $exception)
 {
     $message = $exception->getMessage();
     $response->addToOffset(array('error' => $message), array('files'));
 }
 public function __construct()
 {
     $this->success = true;
     $this->error = null;
     parent::__construct();
 }
 public function __construct()
 {
     $this->finish = true;
     $this->error = 0;
     parent::__construct();
 }