\r\n

51Degrees Pipeline PHP  4.4

51Degrees Pipeline for PHP

fiftyone\pipeline\cloudrequestengine\CloudRequestException Class Reference

Detailed Description

Contains details about exceptions that occur when making requests to the cloud service.

Inheritance diagram for fiftyone\pipeline\cloudrequestengine\CloudRequestException:

[legend]

Collaboration diagram for fiftyone\pipeline\cloudrequestengine\CloudRequestException:

[legend]

Public Member Functions

 __construct (string $message, int $httpStatusCode=0, array $responseHeaders=[])
Constructor for CloudRequestException. More...

Data Fields

int  $httpStatusCode
array  $responseHeaders

Constructor & Destructor Documentation

◆ __construct()

fiftyone\pipeline\cloudrequestengine\CloudRequestException::__construct ( string   $message,
int   $httpStatusCode = 0,
array   $responseHeaders = []  
)

Constructor for CloudRequestException.

Parameters
string
$message - Exception message
int
$httpStatusCode - The status code returned in the HTTP response
array<int|string,string|array<string,mixed>> - $responseHeaders The HTTP headers returned in the response