gearman_client_error.rst 938 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. =============================
  2. Errors reported to the client
  3. =============================
  4. --------
  5. SYNOPSIS
  6. --------
  7. #include <libgearman/gearman.h>
  8. .. c:function:: const char *gearman_client_error(const gearman_client_st *client)
  9. .. c:function:: int gearman_client_errno(gearman_client_st *client)
  10. Ling with -lgearman
  11. -----------
  12. DESCRIPTION
  13. -----------
  14. :c:func:`gearman_client_error` and :c:func:`gearman_client_errno` report on the last errors that the client reported/stored in :c:type:`gearman_client_st`. If you are interested in recording all errors please see :c:func:`gearman_client_set_log_fn`.
  15. ------------
  16. RETURN VALUE
  17. ------------
  18. :c:func:`gearman_client_errno` returns the last :manpage:`errno` that the client recorded.
  19. ----
  20. HOME
  21. ----
  22. To find out more information please check:
  23. `https://gearman.org/gearmand/ <https://gearman.org/gearmand/>`_
  24. .. seealso::
  25. :manpage:`gearmand(8)` :manpage:`libgearman(3)`