# libtmux:error-client

- **Package:** libtmux
- **Language:** Common Lisp
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-lisp/blob/c2e5fc4ed3befda21f45dfa5d5868c38fd138311/src/conditions.lisp#L10
- **Public owner:** libtmux
- **Page:** https://libtmux.org/en/lisp/latest/reference/libtmux-error-client/

```
(error-client condition)

Primary method: libtmux:libtmux-error:
(error-client (condition libtmux:libtmux-error))
```

Return the connection client associated with the failure, or NIL.
A partially opened client may still own cleanup work; retry CLOSE-CLIENT if
cleanup failed. Reading this slot performs no I/O.

## Methods

### `(error-client (condition libtmux:libtmux-error))`

## Parameters

- `condition` (for `error-client(condition)`)
- `condition` (`libtmux:libtmux-error`) (for `Primary method: libtmux:libtmux-error`)

## Guides

Pages that discuss `error-client`.

- [Transport and cleanup](/en/lisp/latest/concepts/transport/)
