Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Aug 3, 2023
1 parent d72fd50 commit 376860f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Config/Source/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ abstract protected function requirement():string;
* @see \Dfe\Square\Source\Location::exception()
* @return array(string => string)
*/
protected function exception(Th $th):array {return ['error' => $th->getMessage()];}
protected function exception(Th $t):array {return ['error' => df_xts($t)];}

/**
* 2017-07-02
Expand Down
3 changes: 3 additions & 0 deletions Qa/lib/exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,13 @@ function df_xf(T $t):T {while ($t->getPrevious()) {$t = $t->getPrevious();} retu
* @used-by \Df\Payment\PlaceOrderInternal::message()
* @used-by \Df\Payment\W\Handler::handle()
* @used-by \Df\Qa\Trace\Formatter::p()
* @used-by \Df\Config\Source\API::exception()
* @used-by \Df\Xml\X::addChild()
* @used-by \Df\Xml\X::importString()
* @used-by \Dfe\CheckoutCom\Handler::p()
* @used-by \Dfe\Sift\Controller\Index\Index::execute()
* @used-by \Dfe\Square\Source\Location::exception()
* @used-by \Dfe\TwoCheckout\Handler::p()
* @used-by \Dfe\YandexKassa\Result::attributes()
* @used-by \Inkifi\Pwinty\Controller\Index\Index::execute()
* @used-by \Mangoit\MediaclipHub\Controller\Index\GetPriceEndpoint::execute()
Expand Down

0 comments on commit 376860f

Please sign in to comment.