mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-01 03:02:43 +01:00
21 lines
475 B
PHP
21 lines
475 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorApplicationTransactionStructureException
|
||
|
extends Exception {
|
||
|
|
||
|
public function __construct(
|
||
|
PhabricatorApplicationTransaction $xaction,
|
||
|
$message) {
|
||
|
|
||
|
$full_message = pht(
|
||
|
'Attempting to apply a transaction (of class "%s", with type "%s") '.
|
||
|
'which has not been constructed correctly: %s',
|
||
|
get_class($xaction),
|
||
|
$xaction->getTransactionType(),
|
||
|
$message);
|
||
|
|
||
|
parent::__construct($full_message);
|
||
|
}
|
||
|
|
||
|
}
|