public function getJobJsonError($jobId)
    {
        $response = $this->mailjet->get(Resources::$BatchjobJsonerror, ['id' => $jobId]);
        if (!$response->success()) {
            $this->throwError("ContactsListSynchronizer:getJobJsonError() failed", $response);
        }

        return $response->getBody();
    }
public function getJobJsonError($jobId)
    {
        $response = $this->mailjet->get(Resources::$BatchjobJsonerror, ['id' => $jobId]);
        if (!$response->success()) {
            $this->throwError("ContactsListSynchronizer:getJobJsonError() failed", $response);
        }

        return $response->getBody();
    }
public function getJobJsonError ( $ jobId ) { $ response = $ this -> mailjet -> get ( Resources :: $ BatchjobJsonerror , [ 'id' => $ jobId ] ) ; if ( ! $ response -> success ( ) ) { $ this -> throwError ( "ContactsListSynchronizer:getJobJsonError() failed" , $ response ) ; } return $ response -> getBody ( ) ; }
Retrieve JsonError for a job
@param  string $jobId
@return array
Retrieve JsonError for a job