function GoogleMiniException::getErrorCodes in Google Search Appliance 5
Same name and namespace in other branches
- 6.2 GoogleMini.php \GoogleMiniException::getErrorCodes()
1 call to GoogleMiniException::getErrorCodes()
File
- ./
GoogleMini.php, line 423
Class
Code
function getErrorCodes() {
static $error_codes;
if (!$error_codes) {
$error_codes = array(
'-100' => 'We apologize, but the connection to our search engine appears to be down at the moment, please try again later.',
'-99' => 'We apologize, but your search cannot be completed at this time, please try again later.',
'1' => 'No results were found that matched your criteria. Please try broadening your search.',
'2' => 'Sorry, but our search does not return more than 1,000 records, please refine your criteria.',
);
}
return $error_codes;
}