diff --git a/src/Client.php b/src/Client.php index 8156533..defec45 100644 --- a/src/Client.php +++ b/src/Client.php @@ -24,7 +24,7 @@ private function handleResult( if ($iResult != EM_RESULT_OK && !in_array($iErrorCode, $aAcceptableErrorCodes)) { euspe_geterrdescr($iErrorCode, $sErrorDescription); throw new \RuntimeException('Check the correctness of functions invocation order.' . - ' Code: ' . $iErrorCode . ' Description: ' . $sErrorDescription); + ' Code: 0x00' . dechex($iErrorCode) . ' Description: ' . $sErrorDescription); } if (!empty($iErrorCode) && !in_array($iErrorCode, $aAcceptableErrorCodes)) { euspe_geterrdescr($iErrorCode, $sErrorDescription);