1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 03:02:43 +01:00
phorge-phorge/src/applications/transactions/exception/PhabricatorApplicationTransactionStructureException.php

21 lines
475 B
PHP
Raw Normal View History

<?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);
}
}