We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6282194 commit 7258448Copy full SHA for 7258448
src/Client.php
@@ -22,7 +22,9 @@ private function handleResult(
22
array $aAcceptableErrorCodes = []
23
): bool {
24
if ($iResult != EM_RESULT_OK && !in_array($iErrorCode, $aAcceptableErrorCodes)) {
25
- throw new \RuntimeException('Check the correctness of functions invokation order.');
+ euspe_geterrdescr($iErrorCode, $sErrorDescription);
26
+ throw new \RuntimeException('Check the correctness of functions invoсation order.' .
27
+ 'Code: ' . $iErrorCode . ' Description: ' . $sErrorDescription);
28
}
29
if (!empty($iErrorCode) && !in_array($iErrorCode, $aAcceptableErrorCodes)) {
30
euspe_geterrdescr($iErrorCode, $sErrorDescription);
0 commit comments