You are here

public function JanrainApiCallError::__construct in Janrain Registration 8

File

src/Exception/JanrainApiCallError.php, line 20

Class

JanrainApiCallError
The error to throw when an API call to Janrain ended unexpectedly.

Namespace

Drupal\janrain_capture\Exception

Code

public function __construct($message, int $code, \stdClass $response) {
  parent::__construct($message);
  $this->response = $response;
}