You are here

function GoogleMiniException::getUserMessage in Google Search Appliance 5

Same name and namespace in other branches
  1. 6.2 GoogleMini.php \GoogleMiniException::getUserMessage()
2 calls to GoogleMiniException::getUserMessage()
GoogleMiniException::__construct in ./GoogleMini.php
google_appliance_search in ./google_appliance.module
Implementation of hook_search()

File

./GoogleMini.php, line 437

Class

GoogleMiniException

Code

function getUserMessage($code) {
  $error_codes = $this
    ->getErrorCodes();
  return $error_codes[$code];
}