PHP 클래스 Zendesk\API\Exceptions\ApiResponseException

상속: extends Exception
파일 보기 프로젝트 열기: zendesk/zendesk_api_client_php 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$errorDetails array

공개 메소드들

메소드 설명
__construct ( RequestException $e )
getErrorDetails ( ) : array Returns an array of error fields with descriptions.

메소드 상세

__construct() 공개 메소드

public __construct ( RequestException $e )
$e GuzzleHttp\Exception\RequestException

getErrorDetails() 공개 메소드

{ "email": [{ "description": "Email: [email protected] is already being used by another user", "error": "DuplicateValue" }], "external_id":[{ "description": "External has already been taken", "error": "DuplicateValue" }] }
public getErrorDetails ( ) : array
리턴 array

프로퍼티 상세

$errorDetails 보호되어 있는 프로퍼티

protected array $errorDetails
리턴 array