A cURL or Shopify error.
Errors with codes below 400 are cURL errors.
The API class returns null
for 404
; it's never thrown.
Public Properties | |
const | NO_DATA |
Messages for codes with garbage response bodies. More... | |
Protected Properties | |
array | $curlInfo = [] |
Public Methods | |
__construct (int $code, string $message, array $curlInfo) | |
array | getCurlInfo () |
bool | isCurl () |
const NO_DATA |
Messages for codes with garbage response bodies.
__construct | ( | int | $code, |
string | $message, | ||
array | $curlInfo | ||
) |
int | $code | |
string | $message | |
array | $curlInfo |
array getCurlInfo | ( | ) |
|
final |