# `Juggernaut.Failures`
[🔗](https://github.com/holsee/juggernaut/blob/v0.4.0/lib/juggernaut/failures.ex#L1)

How an infrastructure error says why tests failed, not only which: the first failing
outcome's failure message (`Juggernaut.Peer.Formatter`'s `failure`), its whitespace
collapsed and cut at 300 characters, so the error fits on one line and the cause needs
no rerun by hand.

# `first`

```elixir
@spec first([map()]) :: String.t()
```

`"; first failure, <test>: <message>"` for the first of `outcomes` whose failure has a
message, or `""` when none has one.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
