You are here

public function JsonParseError::__construct in Janrain Registration 8

File

src/Exception/JsonParseError.php, line 20

Class

JsonParseError
The error to throw when the data cannot be parsed as JSON.

Namespace

Drupal\janrain_capture\Exception

Code

public function __construct(string $content) {
  parent::__construct('Error parsing JSON');
  $this->content = $content;
}