# libtmux.core/error-summary

- **Module:** libtmux.core
- **Package:** io.github.libtmux:libtmux-clojure
- **Language:** Clojure
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-java/blob/5f88402151ff08fc0390dd438b90963692ec3fe4/libtmux-clojure/src/main/clojure/libtmux/core.clj#L106
- **Public owner:** libtmux.core
- **Page:** https://libtmux.org/en/clojure/latest/reference/libtmux-core-error-summary/

```
(error-summary failure)
```

Returns fixed error metadata without arguments or cause messages.

Printing the original exception and its cause chain is not sanitized.
Use this summary when handling failures from [[[new-session](/en/tmux/latest/manual/new-session/)!]] or [[batch!]].

## Parameters

- `failure`
