public function __construct(\stdClass $jsonObject)
 {
     $this->errorIdent = isset($jsonObject->error_ident) ? (string) $jsonObject->error_ident : null;
     $errorCode = isset($jsonObject->error_code) ? (int) $jsonObject->error_code : 0;
     $errorMessage = isset($jsonObject->error_message) ? $jsonObject->error_message : null;
     parent::__construct(is_array($errorMessage) ? join(PHP_EOL, $errorMessage) : $errorMessage, $errorCode);
 }
 /**
  * {@inheritdoc}
  */
 public function __construct($message = '', $code = 0, \Exception $previous = null)
 {
     if (empty($message)) {
         $message = 'No result information on this API response.';
     }
     parent::__construct($message, $code, $previous);
 }