1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-22 19:49:01 +01:00
phorge-arcanist/src/differential/ArcanistDifferentialCommitMessageParserException.php

20 lines
376 B
PHP
Raw Normal View History

2011-01-09 15:22:25 -08:00
<?php
/**
* Thrown when a commit message isn't parseable.
*/
final class ArcanistDifferentialCommitMessageParserException extends Exception {
2011-01-09 15:22:25 -08:00
private $parserErrors;
public function __construct(array $errors) {
$this->parserErrors = $errors;
parent::__construct(head($errors));
}
public function getParserErrors() {
return $this->parserErrors;
}
2011-01-09 15:22:25 -08:00
}