...
Info |
---|
title | Convienient way to get highest ErrorCode |
---|
|
Just call the following command to get the currently highest value of E1XXX codes here in the doc. php -r '$text = file_get_contents("https://confluence.translate5.net/display/TAD/ErrorCodes"); preg_match_all("/(E1[0-9]{3})/", $text, $codes); print_r(max(array_unique($codes[0])));echo "\n";' or to get a whole list sorted from lowest to highest: php -r '$text = file_get_contents("https://confluence.translate5.net/display/TAD/ErrorCodes"); preg_match_all("/(E1[0-9]{3})/", $text, $codes); print_r(sort($codes = array_unique($codes[0]); sort($codes); print_r($codes);echo "\n";' |
In the future each error in translate5 should have an own error code to improve support / make live for help desk easier.
...