Exception for 428 Precondition Required responses
| see | |
|---|---|
| package | Requests |
| inherited_from | \Requests_Exception_HTTP |
__construct(string $message, string $type, mixed $data= null, integer $code= 0)
stringException message
stringException type
mixedAssociated data
integerException numerical code, if applicable
getData() : mixed
| codeCoverageIgnore |
|---|
mixedgetReason()
getType() : string
| codeCoverageIgnore |
|---|
stringget_class(integer|boolean $code) : string
integerbooleanHTTP status code, or false if unavailable
stringException class name to use$code : integer
428| inherited_from | \Requests_Exception_HTTP::code |
|---|
$code : integer
0$data : mixed
$reason : string
'Precondition Required'| inherited_from | \Requests_Exception_HTTP::reason |
|---|
$reason : string
'Unknown'$type : string