# `BeamExport.TimeoutError`
[🔗](https://github.com/HataluliRandima/beam_export/blob/v0.1.0/lib/beam_export/errors.ex#L210)

Raised (or returned) when an Ecto-backed export stops making progress.

An export that fails with this error is **incomplete**: BeamExport aborts the
database cursor and never reports a partial export as a successful one.

Fields:

  * `:reason` - `:consumer_timeout` when the stream consumer did not ask for the
    next batch within `:consumer_timeout` milliseconds, or `:batch_timeout` when the
    database did not deliver the next batch within `:batch_timeout` milliseconds.
  * `:timeout` - the timeout that elapsed, in milliseconds.

---

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