You are here

function services_client_get_error_token in Services Client 7

Create error token that can be used for instant data push.

Return value

string Random string token.

1 call to services_client_get_error_token()
services_client_error_save in services_client_error/services_client_error.module
Save information about error to data log

File

services_client_error/services_client_error.module, line 400
Services Client error handling, re-try and reporting.

Code

function services_client_get_error_token() {
  return strtr(base64_encode(drupal_random_bytes(64)), '/+=', '___');
}