# `Lockstep.BugFound`
[🔗](https://github.com/b-erdem/lockstep/blob/v0.1.0/lib/lockstep/bug_found.ex#L1)

Raised when a controlled-concurrency iteration finds a bug. The
message includes the iteration number, seed, formatted schedule, and a
command for replaying the bug.

# `t`

```elixir
@type t() :: %Lockstep.BugFound{
  __exception__: true,
  fail_step: non_neg_integer() | nil,
  iter_seed: integer() | nil,
  iteration: non_neg_integer() | nil,
  reason: term(),
  seed: integer() | nil,
  strategy: atom() | nil,
  trace: list() | nil,
  trace_path: String.t() | nil
}
```

---

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