ExAws.SQS.PaginationError exception (ExAws.SQS v5.1.0)

View Source

Raised by ExAws.SQS.stream_queues/2 and ExAws.SQS.stream_dead_letter_source_queues/3 when fetching a page fails.

  • :reason - the term ExAws.request/2 returned in {:error, reason}, so callers can pattern-match on it (e.g. {"InvalidParameterValue", "message"} for an AWS error response).
  • :items_key - the response field the stream was reading ("QueueUrls" or "queueUrls").

Summary

Types

t()

@type t() :: %ExAws.SQS.PaginationError{
  __exception__: true,
  items_key: String.t(),
  reason: term()
}