# `Slink.API.Error`
[🔗](https://github.com/wkirschbaum/slink/blob/v0.6.0/lib/slink/api.ex#L24)

Raised by `Slink.API.stream/3` when a page fetch fails mid-stream.

A lazy `Stream` has no way to return `{:error, reason}`, so failures raise
instead. `reason` is what `Slink.API.call/3` would have returned in the
error tuple (Slack's error string, or a transport error).

---

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