# libtmux:outcome-reason

- **Package:** libtmux
- **Language:** Common Lisp
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-lisp/blob/c2e5fc4ed3befda21f45dfa5d5868c38fd138311/src/transport.lisp#L16
- **Public owner:** libtmux
- **Page:** https://libtmux.org/en/lisp/latest/reference/libtmux-outcome-reason/

```
(outcome-reason outcome)

Primary method: libtmux:command-outcome:
(outcome-reason (command-outcome libtmux:command-outcome))
```

Return the retained failure reason keyword, or NIL. No I/O.
Examples include :DEADLINE and :CANCELLED; inspect the condition and phase too.

## Methods

### `(outcome-reason (command-outcome libtmux:command-outcome))`

## Parameters

- `outcome` (for `outcome-reason(outcome)`)
- `command-outcome` (`libtmux:command-outcome`) (for `Primary method: libtmux:command-outcome`)

## Guides

Pages that discuss `outcome-reason`.

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