Zizq.ErrorPage (Zizq v0.6.1)

Copy Markdown View Source

One page of a job's failed attempts, and where the next one is.

Returned by Zizq.list_errors/3, and followed with Zizq.next_page/2 and Zizq.prev_page/2.

Summary

Functions

Whether another page follows this one.

Whether a page precedes this one.

Types

t()

@type t() :: %Zizq.ErrorPage{
  errors: [Zizq.ErrorRecord.t()],
  next: String.t() | nil,
  prev: String.t() | nil,
  self: String.t() | nil
}

Functions

has_next?(error_page)

@spec has_next?(t()) :: boolean()

Whether another page follows this one.

has_prev?(error_page)

@spec has_prev?(t()) :: boolean()

Whether a page precedes this one.