Inheritance diagram for AsanaError:Public Properties | |
| readonly array array | $curlInfo |
| cURL context More... | |
Public Methods | |
| __construct (int $code, string $message, array $curlInfo) | |
| array | asResponse () |
| Decodes and returns Asana's error JSON. More... | |
| bool | is (int $code) |
| bool | isCurl () |
| Whether the error was due to cURL failure. More... | |
| readonly array array $curlInfo |
cURL context
| __construct | ( | int | $code, |
| string | $message, | ||
| array | $curlInfo | ||
| ) |
| int | $code | |
| string | $message | |
| array | $curlInfo |
|
final |
Decodes and returns Asana's error JSON.
|
final |
| int | $code |
|
final |
Whether the error was due to cURL failure.