Requests_Exception::__construct( string $message, string $type, mixed $data = null, integer $code )

In this article

Create a new exception

Parameters

$messagestringrequired
Exception message
$typestringrequired
Exception type
$datamixedoptional
Associated data

Default:null

$codeintegerrequired
Exception numerical code, if applicable

Source

User Contributed Notes

You must log in before being able to contribute a note or feedback.