---
name: "gearman_client_error"
section: "3"
platform: "linux"
package: "gearmand"
version: "2.2.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gearman_client_error"
---

# gearman\_client\_error(3)

Gearmand Documentation, https://gearman.org/gearmand/

## NAME

gearman\_client\_error - Gearmand Documentation, https://gearman.org/gearmand/

## SYNOPSIS

\#include \<libgearman/gearman.h\>

- **const char \*gearman\_client\_error(const *gearman\_client\_st* \*client)**

  - **int gearman\_client\_errno(*gearman\_client\_st* \*client)**

  Ling with -lgearman

## DESCRIPTION

*gearman\_client\_error()* and *gearman\_client\_errno()* report on the last errors that the client reported/stored in *gearman\_client\_st*. If you are interested in recording all errors please see *gearman\_client\_set\_log\_fn()*.

## RETURN VALUE

*gearman\_client\_errno()* returns the last **errno** that the client recorded.

## HOME

To find out more information please check: *https://gearman.org/gearmand/*

**SEE ALSO:**

**[gearmand(8)](/gearmand/8.md)** **[libgearman(3)](/libgearman/3.md)**

## AUTHOR

Data Differential http://www.datadifferential.com/

## COPYRIGHT

2011-2014, Data Differential, http://www.datadifferential.com/
