Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| ErrorInfo | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Ably\Models; |
| 3 | |
| 4 | /** |
| 5 | * Represents an error as returned from the Ably server |
| 6 | */ |
| 7 | class ErrorInfo { |
| 8 | /** |
| 9 | * @var int $code Exception code @see https://github.com/ably/ably-common/blob/master/protocol/errors.json |
| 10 | */ |
| 11 | public $code; |
| 12 | /** |
| 13 | * @var int $statusCode HTTP error code |
| 14 | */ |
| 15 | public $statusCode; |
| 16 | /** |
| 17 | * @var string $message Exception message |
| 18 | */ |
| 19 | public $message; |
| 20 | } |