/**
  * Constructor
  *
  * @param string $operation
  * @param array  $errors
  */
 public function __construct($operation, array $errors)
 {
     $this->errors = $errors;
     parent::__construct(sprintf("Error executing operation '[%s]' over at least one file. Error details: '%s'", $operation, json_encode($errors)));
 }
 /**
  * Constructor
  *
  * @param int    $statusCode    HTTP status code
  * @param string $reasonMessage HTTP Reason message, describing status code
  */
 public function __construct($statusCode, $reasonMessage)
 {
     parent::__construct(sprintf("Unexpected HTTP status [%s]: %s", $statusCode, $reasonMessage), $statusCode);
 }