__construct() public method
Constructor.
public void __construct ( $responseHeaders, $responseBody, $message = null, $code = 0, Exception $previous = null )$responseHeaders array
Response headers $responseBody string
Response body $message string
Error message $code integer
Error code $previous Exception
The previous exception used for the exception chaining.